Understanding and applying tools that can evaluate C# code
The evolution of code analysis in Visual Studio is continuous. This means that Visual Studio 2019 certainly has more tools for this purpose than Visual Studio 2017, and so on.
One of the issues that you (as a software architect) need to deal with is the coding style of the team. This certainly results in a better understanding of the code. For instance, if you go to Visual Studio Menu, Tools->Options, and then, in the left-hand menu, you go to Text Editor -> C#, you will find ways to set up how to deal with different code style patterns, and a bad coding style is even indicated as an error in the Code Style option, as follows:
Figure 19.1: Code Style options
The preceding screenshot suggests that Avoid unused parameters was considered an error.
After this change, the result of the compilation of the same code presented at the beginning of the chapter is different, as you can see in the...