开发者

standard naming convention document of Visual Studio C#?

开发者 https://www.devze.com 2023-01-13 22:39 出处:网络
Where is the standard naming convention document of Visual Studio C#. net? I want naming convention document for variables, functi开发者_如何学运维ons/methods and form controls for C#.Here you go: ht

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

I want naming convention document for variables, functi开发者_如何学运维ons/methods and form controls for C#.


Here you go: http://msdn.microsoft.com/en-us/library/ms229002.aspx


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号