Check out example codes for "convert generic to type c#". It will help you in understanding the concepts better.

Code Example 1

(SomeClass)Convert.ChangeType(T, typeof(SomeClass));

Learn ReactJs, React Native from akashmittal.com