Home »
MCQs »
C# MCQs
In C#, a single-line comment starts with ___
19. In C#, a single-line comment starts with ___.
- Two forward slashes (//)
- Two backward slashes (\\)
- A hash character (#)
- A dollar character ($)
Answer: A) Two forward slashes (//)
Explanation:
In C#, a single-line comment starts with two forward slashes (//).