Other Control
There are other statements that are associated with particular features of the language. These statements
are covered in the sections dealing with those features.
Statement | Description |
---|---|
using |
helps simplify the process and ensures that the resources are properly disposed |
checked , unchecked |
These statements control the overflow checking context. |
foreach |
This statement iterates through each member of a collection. |
try , throw , finally |
These statements are associated with exceptions. |
return |
This statement returns control to the calling function member and can also return a value. |
yield |
This statement is used with iterators. |
0 comments:
Post a Comment