Check out example codes for "create new object from generic c#". It will help you in understanding the concepts better.

Code Example 1

return (T)Activator.CreateInstance(typeof(T), new object[] { param });

Learn ReactJs, React Native from akashmittal.com