My 2 Cents How Many Type Of Comments Are There In C#?


White Belt
Comments in any programming language provide the clear understanding of the code and its meaning . A good programmer never forgot to leave the comments in the coding . C# programming language also provides the facility to leave comment in the code.
These are the types of the C# comments -
// - used for single line comments.
/* */ - used for multiple line comments.
/// used for XML comments.