Which of the following is used to denote comments in C#?

Skill/Topic: Intermediate
A) /* */
B) //
C) ///
Explanation: /// is used from XML documentation

Showing Answers 1 - 15 of 15 Answers

s

  • Feb 15th, 2006
 

even the third option /// is perfectly valid. and the author himself said-/// is used for XML documentation.

Jimbobob

  • May 31st, 2006
 

all are correct, all are supported forms of commenting, it's just that /// is specifically for functionality in XML documentation.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions