logo
Учебник_ПОА

Comments

After the using statements, the next line contains a comment. Comments are useful for including notes to yourself or other programmers.

// A "Hello World!" program in C#

The characters // convert the rest of the line to a comment. You can also comment a block of text by placing it between the characters /* and */, for example:

/* A "Hello World!" program in C#.

This program displays the string "Hello World!" on the screen. */