简体   繁体   中英

standard naming convention document of Visual Studio C#?

Where is the standard naming convention document of Visual Studio C#. net?

I want naming convention document for variables, functions/methods and form controls for C#.

Please see Klaus' and Fredrik's answers for good online resources. This is just to add: A good source for naming conventions and design guidelines in general for .NET can be found in the book Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries .

The nearest thing to what you are asking for should be the Design Guidelines for Developing Class Libraries , which features some naming guidelines . Note that these guidelines deal only with names that are visible "from the outside". It does not discuss what to call internal parts of your code, such as private fields or local variables.

The Encodo book provides some good best practise guidelines

Can be found here

http://code.msdn.microsoft.com/encodocsharphandbook

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM