@
character.
The following table lists the reserved keywords in C#:
get
and set
, are called contextual keywords and can be used as identifiers outside that context.
Generally, as new keywords are added to the C# language, they are added as contextual keywords in order to avoid breaking programs written in earlier versions.
The following table lists the contextual keywords in C#:
Contextual Keywords | |||||
---|---|---|---|---|---|
add |
alias |
ascending |
descending |
dynamic |
from |
get |
global |
group |
into |
join |
let |
orderby |
partial (type) |
partial |
remove |
select |
set |