< C Sharp Programming < Keywords
The select contextual keyword is used to determine what variables to return at the end of a query, e.g., 'from item in dataset select id'. Immediately following the contextual keyword select is an expression that may be as simple as a single attribute of each item returned or the item itself. The expression could include a list of attributes or it could be a more complex expression that transforms the returned results of the query into new types.
| 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.