Jump to content
  • Advertisement
Sign in to follow this  
GroZZleR

[.net] C# Naming Conventions

This topic is 5031 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!