C# Create New T()
You can see what I’m trying (but failing) to do with the following code: protected T GetObject() { 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, … Read more