Compartilhar via


Statement Types (C# Reference) 

Statements are program instructions. Except as described, statements are executed in sequence. C# has the following categories of statements.

Category C# keywords

Selection statements

if, else, switch, case

Iteration statements

do, for, foreach, in, while

Jump statements

break, continue, default, goto, return, yield

Exception handling statements

throw, try-catch, try-finally, try-catch-finally

Checked and unchecked

checked, unchecked

fixed Statement

fixed

lock Statement

lock

See Also

Reference

C# Keywords

Concepts

C# Programming Guide

Other Resources

C# Reference