I have a class with more than 8 properties, and I often want to instantiate it in some method, but it is super tedious to have to write the properties one by one to assign t
As far as I know, there's not a built in way to generate an instantiator with all the properties of the object. Generally when you have to do this, you would go through a constructor so you know that the object is getting created correctly.
You could create some type of code snippet in Visual Studio, but you'd have to make it yourself and it would only really work for that object....
You can view this post as well since it's pretty close to what you're looking for but it doesn't sound like they found a great way to do this either: Is there a way, at design time, to initialize an object with all properties in Visual Studio 2010?