Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Daniel Solis - Illustrated C# 2010 - 2010.pdf
Скачиваний:
16
Добавлен:
11.06.2015
Размер:
11.23 Mб
Скачать

CHAPTER 9 STATEMENTS

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

Chapter 18

 

context.

 

foreach

This statement iterates through each member of a

Chapters 14 and 20

 

collection.

 

try, throw, finally

These statements are associated with exceptions.

Chapter 11

return

This statement returns control to the calling function

Chapter 5

 

member and can also return a value.

 

yield

This statement is used with iterators.

Chapter 20

 

 

 

267

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]