-
Single-line comments are started with
//. Multi-line comments are started with/*and ended with*/. -
C# uses braces (
{and}) instead of indentation to organize code into blocks. If a block is a single line, the braces can be omitted. For example,