C# comments


C# Comments

The C# remarks are explanations that are not executed by the compiler. The remarks in C# programming can be utilized to give clarification of the codeThe C# remarks are explanations that are not executed by the compiler. The remarks in C# programming can be utilized to give clarification of the code, variable, strategy, or class. With the assistance of remarks, you can shroud the program code moreover.

There are two kinds of comments in C#.

Single Line

Multi-Line

C# Single Line Comment

The single line remark begins with//. We should see a case of a single line remark in C#.

C# Multi Line Comment

The C# multiline remark is utilized to remark numerous lines of code. It is encircled by cut and reference mark (/* ….. */). We should see a case of a multi-line remark in C#.

 

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories

%d bloggers like this: