Search code examples
c#.netcoding-stylenaming-conventions

What is the correct casing convention for C# local and instance variables?


There are a lot of former Java developers at my company who use camel casing in C# for both of these. What casing is most widely accepted / used for C#?


Solution

  • Here is the Microsoft Conventions

    enter image description here

    Here is the full MSDN conventions

    And here are the internal guidelines via Brad Abrams (covers just about everything, not just the highlights)