I have two objects I need to assert using NUnit. Object class has properties that I populate continuously during development. I use Microsoft Visual Studio Community 2019 and am able to generate HashCode and Equals automatically. I used to work with Java and was able to generate toString by IDE automatically, switched recently to C#.
The question
Is there a way to generate ToString() automatically in a similar way as HashCode and Equals?
Currently I populate ToString() manually once adding a new property, but the more properties I add the harder it becomes to track all fields in ToString method.
I was searching for a solution and was able to find outdated posts only.