Marc Costello
  • Home
Sign in Subscribe

reflection

A collection of 1 post
reflection

Newing up T

Parameterless constructor new() By far the most readable way to new up T. As long as your type has a parameterless constructor - you're good to go. It's also worth noting that this is just syntactic sugar - it's still very much reflection. You
30 Mar 2014 5 min read
Page 1 of 1
Marc Costello © 2025
Powered by Ghost