Code Documentation (Part 4)
Regions Using regions is a very good practice, whereas a region lets you specify a block of code that you can expand or collapse. In longer code files, it is convenient to be able to collapse or hide one or more regions so that you can focus on the part of the file that you are currently working on. Comments & XML Documentation Comments are a short descriptive lines, explaining what a line or more of code should do, or might be addressing programmers about test code pieces or future changes. Comments usually comes in two forms: In-line comments: public bool SendNotificationEmail( string toEmail, string subject, string body) ...