• .Net,  c#

    Visual Studio and that Annoying Code Style

    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