Follow all .NET Framework Design Guidelines for both internal and external members. Highlights of these include:
* Do not use Hungarian notation
* Do not use a prefix for member variables (_, m_, s_, etc.). If you want to distinguish between local and member variables you should use “this.” in C# and “Me.” in VB.NET.
* Do use camelCasing for member variables
* Do use camelCasing for parameters
* Do use camelCasing for local variables
* Do use PascalCasing for function, property, event, and class names
* Do prefix interfaces names with “I”
* Do not prefix enums, classes, or delegates with any letter
Reference : http://blogs.msdn.com/brada/articles/361363.aspx
Monday, December 22, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment