how to create object with a generic class code example
Example: create new object from generic c#
return (T)Activator.CreateInstance(typeof(T), new object[] { param });
return (T)Activator.CreateInstance(typeof(T), new object[] { param });