C# Version 5.0 Keywords

C# Version 5.0 Keywords

A full list of C# Version 5.0 keywords, including contextual keywords.

abstract
as
base
bool
break
byte
case
catch
char
checked
class
const
continue
decimal
default
delegate
do
double
else
enum
event
explicit
extern
false
finally
fixed
float
for
foreach
goto
if
implicit
in
int
interface
internal
is
lock
long
namespace
new
null
object
operator
out
override
params
private
protected
public
readonly
ref
return
sbyte
sealed
short
sizeof
stackalloc
static
string
struct
switch
this
throw
true
try
typeof
uint
ulong
unchecked
unsafe
ushort
using
virtual
void
while

 

Contextual Keywords

“Some keywords are contextual, meaning they can also be used as identifiers – without an @ symbol.(Albahari, 2012)”

add
ascending
async
await
by
descending
dynamic
equals
from
get
global
group
in
into
join
let
on
orderby
partial
remove
select
set
value
var
where
yield

 

 

References:
Albahari, J., & Albahari, B. (2012). C# 5.0 Pocket Reference. Sebastopool, CA: O’Reilly Media, Inc.
http://shop.oreilly.com/product/0636920023975.do

0
  Related Posts