Technical Blog
Tuesday 4 May 2010
Your Class Regions
According to StyleCop, the order of class members should as below:
Fields
Constructors
Events
Enums
Properties
Methods
Notes:
A class doesn't have to have all these regions, only those which are required.
You can use Ctrl+K+S to add a region snippet quickly.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment