how to covert any number into Generic Type cast code example Example: convert generic to type c# (SomeClass)Convert.ChangeType(T, typeof(SomeClass));