Information Technology Reference
In-Depth Information
Other Statements
There are other statements that are associated with particular features of the language. These
statements are covered in the sections dealing with those features. The statements covered in
other chapters are shown in Table 9-1.
Table 9-1. Statements Covered in Other Chapters
Statement
Description
Relevant Chapter
checked , unchecked
These statements control the overflow-checking
context.
Chapter 18
foreach
This statement iterates through each member of a
collection.
Chapter 20
try , throw
These statements are associated with exceptions.
Chapter 11
return
This statement returns control to the calling function
member, and can also return a value.
Chapter 5
yield
This statement is used with iterators.
Chapter 20
Search WWH ::




Custom Search