Q6
What is the correct way to comment a single line in C#?
A.
-- This is a comment
B.
# This is a comment
C.
// This is a comment
AnswerD.
/* This is a comment */
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board