Comments in C#

Comments in C#
 

This blog explains the procedure of using Comments in C# and Comments types.
 
Introduction
 

Comments are used in the insert notes into the source code. Comments are used for the documentation of what the program does and what specific blocks or line of codes do. C# Compiler ignores comments.
 
There are three types of documentation comments, as shown in the following figure:
 
 
Comments, it will look like the following.
 
 
 
Note - Don’t try to comment on every line of Code. Use the comments only for, blocks or lines of code that are difficult to understand.