
.NET Coding Conventions - C# | Microsoft Learn
Jan 18, 2025 · Learn about commonly used coding conventions in C#. Coding conventions create a consistent look to the code and facilitate copying, changing, and maintaining the code.
Identifier names - rules and conventions - C# | Microsoft Learn
Oct 10, 2025 · Learn the rules for valid identifier names in the C# programming language. In addition, learn the common naming conventions used by the .NET runtime team and the .NET docs team.
Create Readable Code with Conventions, Whitespace, and Comments in C# …
Write code that is easier to read, update and support using naming conventions, comments and whitespace.
Code-style naming rules - .NET | Microsoft Learn
Jan 23, 2023 · In your .editorconfig file, you can define naming conventions for your .NET programming language code elements—such as classes, properties, and methods—and how the compiler or IDE …
.NET code style rule options - .NET | Microsoft Learn
Oct 22, 2025 · You can define and maintain consistent code style in your codebase by defining .NET code-style rules and their associated options in a configuration file. These rules are surfaced by …
General Naming Conventions - Framework Design Guidelines
Oct 22, 2008 · This section describes general naming conventions that relate to word choice, guidelines on using abbreviations and acronyms, and recommendations on how to avoid using language …
C# Guide - .NET managed language | Microsoft Learn
The C# guide has everything you need to learn C# and get started writing .NET apps. Learn C# programming - for beginning developers, developers new to C#, and experienced C# / .NET …
Naming Guidelines - Framework Design Guidelines | Microsoft Learn
Oct 22, 2008 · In this overview, read about naming conventions to use in framework development. Go to articles covering capitalization, general naming, and other guidelines.
Code-style language and unnecessary code rules - .NET
Nov 7, 2025 · Learn about the different code-style rules for using C# and Visual Basic language constructs and for finding unnecessary code.
Code-style rules overview - .NET | Microsoft Learn
Aug 21, 2025 · Rules that pertain to the C# or Visual Basic language. For example, you can specify rules that regard the use of var when defining variables, or whether expression-bodied members are …