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