Multi-Line Comment in C#
Jeremy wrote several lines of comments using single line comments: the 2 back-slashes // I know each language has it's own syntax for this, but does C# have a multi-line comment, and if so, what is it? Thanks!
Justin Molyneaux11,614 Points
To make a multi-line comment, highlight the lines that you wish to comment and press Command / on Mac or Control / on Windows. Repeat this process to uncomment those lines.
Randy Eichelberger445 Points
btw he used multiple single line quotes because each one of these is a separate part of the program. It wouldn't make sense to use a multiline comment when you're about to go through and write code between each line.