C# Keywords: A Comprehensive Guide for Beginners, Summaries of Computer Science

douments are c programming loop concepts, switch statements, variable concepts and while statements

Typology: Summaries

2012/2013

Uploaded on 04/18/2023

sreeji-pradeesh
sreeji-pradeesh 🇮🇳

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
C# Keywords
A keyword is a reserved word. You cannot use it as a variable name,
constant name etc.
In C# keywords cannot be used as identifiers. However, if we want to use
the keywords as identifiers, we may prefix the keyword with @ character.
A list of Reserved Keywords available in C# programming
language is given below:
abstrac
t
base as bool break catch case
byte char checked class const continue decim
al
private protecte
d
public return readonly ref sbyte
explicit extern false finally fixed float for
foreach goto if implicit in in (generic
modifier)
int
ulong ushort uncheck
ed
using unsafe virtual void
null object operator out out (generic
modifier)
override param
s
default delegat
e
do double else enum event
sealed short sizeof stackall
oc
static string struct
switch this throw true try typeof uint
abstract base as bool break catch case
volatile while
Some identifiers which have special meaning in context of code are called
as)Contextual Keywords.
A list of Contextual Keywords available in C# programming
language is given below:
pf2

Partial preview of the text

Download C# Keywords: A Comprehensive Guide for Beginners and more Summaries Computer Science in PDF only on Docsity!

C# Keywords

A keyword is a reserved word. You cannot use it as a variable name, constant name etc. In C# keywords cannot be used as identifiers. However, if we want to use the keywords as identifiers, we may prefix the keyword with @ character. A list of Reserved Keywords available in C# programming language is given below:

abstrac

t

base as bool break catch case

byte char checked class const continue decim al private protecte d public return readonly ref sbyte explicit extern false finally fixed float for foreach goto if implicit in in (generic modifier) int ulong ushort uncheck ed using unsafe virtual void null object operator out out (generic modifier) override param s default delegat e do double else enum event sealed short sizeof stackall oc static string struct switch this throw true try typeof uint abstract base as bool break catch case volatile while Some identifiers which have special meaning in context of code are called as Contextual Keywords. A list of Contextual Keywords available in C# programming language is given below:

add group ascending descending dynamic from get

global alias into join let select set partial (type) partial(method ) remove Order by