C# dynamically pass type to generic July 8, 2019 16 32 64 128 Dynamically pass type to generic method c# Generic type swift T in c#