Skip to content

Glossary: C# Basics

Block

Also written: blocks

A group of lines inside braces `{ }`, such as the lines an `if` or a loop runs. Variables declared inside a block exist only within it.

Where the book teaches it

Related terms

Scopeif statement