static dynamic ThingWithLength() { dynamic expando = new ExpandoObject(); expando.Length = 42; return expando; }