C# CommentsC# does support 2 types of comments, single line and multi-line comment.
Single Line commentTo comment in C#, simply place your plain text after
//marks. This tells the application that they are notes and should not be used as part of the program.
Single Line commentIn C#, The /* */ comment syntax is used for multiline comments. simply place your plain text between
Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue: firstname.lastname@example.org.