• +91 9723535972
  • info@interviewmaterial.com

CSharp Interview Questions and Answers

Question -
What are various types of comments in C#, explain with example?



Answer -

C# supports three types of comments-

1. Single line comment

Syntax:  //single line

2. Multiple line comment

Syntax: /* multiple lines

*/

3. XML comment

Syntax: /// set erro

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners