how to convert to generic type to class c# code example Example: convert generic to type c# (SomeClass)Convert.ChangeType(T, typeof(SomeClass));