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