c# – ScottGeek Technology https://scottgeek.technology Wed, 11 Oct 2023 21:06:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 Visual Studio and that Annoying Code Style https://scottgeek.technology/2023/10/11/visual-studio-and-that-annoying-code-style/ https://scottgeek.technology/2023/10/11/visual-studio-and-that-annoying-code-style/#respond Wed, 11 Oct 2023 21:06:44 +0000 https://scottgeek.technology/?p=5479 Here were are long ago from my last post and what do I do?  Yes, complain about Visual Studio 2022 and MS removing yet again the only real coding style I… use?

Yes, that thing one does when one creates a Constructor for a Class to set a private read only variable that is not “this.whatever” but using the camel case “_whatever”.
Now I get it… it’s a style… not everyone like the _whatever variables when one does something like Dependency Injection… Ok I have no problem with that…

The complaint here… is everything almost when MS releases yet another update to VS 2022- they reset my code style! Really!

Anyway… a good post to explain how to put it back:

Put the Style Back

 

]]>
https://scottgeek.technology/2023/10/11/visual-studio-and-that-annoying-code-style/feed/ 0