C# cast to unknown generic type July 8, 2019 16 32 64 128 C# cast object to unknown generic type T in c#