How do I get the actual type of T in a generic List at run time using reflection?
New solution old problem by dynamic
dynamic
void Foo(){ Type type GetTypeT(data as dynamic); } private static Type GetTypeT(IEnumerable data) { return typeof(T); }