• Advertisement
Sign in to follow this  

[.net] C# Naming Conventions

This topic is 4796 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Although a stern believer in Hungarian Notation for C/C++, I've come to realize my code no longer "fits" with Microsoft's when programming in C# and I dislike that. I've searched everywhere and I can't seem to find a list of Microsoft's standard for naming conventions in C#. I can find a lot of theory and conjecture with some general acceptance, but nothing very concrete. Anyone have any official Microsoft link or something "close enough"?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
You should run fxcop on all your assemblies: http://www.gotdotnet.com/team/fxcop/

Not only does it help you with naming conventions, it can also detect possible bugs, such as incorrect usage/implementation of IDisposable etc.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement