Thursday, 17 April 2014

c# comment

How to Comment
Now that we have investigated why and what to comment, we need to know how to comment. There are three types of comment that C# can include. They are single line, trailing and multi-line comments.
Single Line Comments
The simplest form of comment in C# is the single line comment. The line is started with a double forward slash, (//). Any text or code following the double slash is ignored during compilation.

No comments:

Post a Comment