Cast object to generic type c# July 8, 2019 16 32 64 128 C# cast object to generic type at runtime C# reflection cast object to generic type C# cast object to unknown generic type Type casting in c# T in c#