As mentioned in the SLaks comments, this is possible. But this is not trivial. I'm not sure what you are trying to do, but you can easily add anonymous types to the general list of objects.
List<object> list = new List<object>();
for(int i = 0; i < 10; i++){
list.Add(new { SomeProperty = i, OtherProperty = "foobar" });
}
source
share