Vidyalelo
C# Programming · Q15

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 15

Q15

What is the correct syntax to create a multi-line comment in C#?

A.
/* This is a multi-line comment */
Answer
B.
// This is a multi-line comment
C.
# This is a multi-line comment
D.
-- This is a multi-line comment

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board