C# Programming/Keywords/descending
Appearance
The descending
and ascending
contextual keywords are used in orderby
clauses. Specifying descending
sorts from the largest first to the smallest at the end while ascending
sorts from the smallest first to the largest at the end. The default sort order is ascending
, so descending
must be explicitly stated. See also from
, in
, and select
.
C# Keywords | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Special C# Identifiers (Contextual Keywords) | |||||||||||||||
| |||||||||||||||
Contextual Keywords (Used in Queries) | |||||||||||||||
|