Q:

What are the types of comment in C# with examples?

0

What are the types of comment in C# with examples?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Solution:

Single line
//This is a Single line comment

Multiple line
/*This is a multiple line comment
Here you can use more than 1 line*/

XML Comments
/// This is XML code Comment.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is a class in c#?... >>
<< What is a C# programming language?...