The main place I use is to create a container for anonymous types.
public static List<T> CreateListOfAnonymous<T>(T unused) { return new List<T>(); }
Using:
public void Foo() { var list = CreateListOfAnonymous(new { Name = String.Empty, Age = 42 }); list.Add(new { Name = "foo", Age = 28 }); }
source share