< C Sharp Programming < Keywords
The when contextual keyword is used to provide filtering capabilities in a catch statement or a case label of a switch statement. The keyword immediately precedes a condition, e.g., when (lifeValue < 1).
| C# Keywords | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Special C# Identifiers (Contextual Keywords) | |||||||||||||||
| |||||||||||||||
| Contextual Keywords (Used in Queries) | |||||||||||||||
|
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.