.net – C# Create New T () – Stack Overflow

{ return new T(); } Any help would be greatly appreciated. EDIT: The context was as follows. I was playing around with a custom controller class for all controllers to derive from, with standardised methods. So in context, I needed to create a new instance of the object of the controller type. So at time of writing, it was something like:

Read More