Alternative to Activator.CreateInstance






2.88/5 (3 votes)
And why don't you just do this?public static T Create() where T : class, new(){ return new T();}
2.88/5 (3 votes)
And why don't you just do this?public static T Create() where T : class, new(){ return new T();}