Thumb

Contextual Keywords

1/7/2020 2:02:34 AM

Contextual Keywords

A contextual keyword is used to provide a specific meaning in the code, but it is not a reserved word in C#. Some contextual keywords, such as partial and where, have special meanings in two or more contexts.

add, alias, ascending, async, await, by, descending, dynamic, equals from, get, global, group, into, join, let, nameof, on, orderby, partial(type), partial(method), remove, select, set, unmanaged(generic type constraint), value, var, when(filter condition), where(generic type constraint), where(query clause), yield.