Loading, please wait...

A to Z Full Forms and Acronyms

Keywords in C#

Aug 10, 2019 C#, C#.Net, .Net, 3768 Views
What are the Keywords in c# that you'll get it in this article?

Keywords are the reserved words defined to any compiler. The keywords cannot be used as identifiers. Some keywords known as contextual keyword have special meaning in code context and can be used as identifiers also.

Following is a chart of reserved keywords in C#.

Reserved 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

volatile

while

 

Contextual Keywords:

add

alias

ascending

descending

dynamic

from

get

global

group

into

join

let

orderby

partial

remove

select

set

 

 

 

 

A to Z Full Forms and Acronyms