Do not use "using", prefix everything in full.
Fewer files means more consistency
Always use this prefix inside classes
Add local variables inside the try-block, not above
Use Pascal casing for class names and properties
Class Names should be nouns, noun phrases or adjective phrases and should not contain an underscore
Do not provide a default constructor for a structure ??
Member Names should be verbs or verb phrases
Declare the variables outside the Try block and initialise them inside the Try-block
Use ex as the variable for a general exception
Add the suffix "_Delegate" to any delegates
Add the suffix "_EventArgs" to any classes that extend System.EventArgs
Add the suffix "Exception" to any types that inherit from System.Exception
Add the suffix "Stream" to any types that inherit from System.IO.Stream
Add the suffix "en" to any enumeration types
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext