Anhang A. Schlüsselwörter

Tabelle A.1 C#-Schlüsselwörter

abstract

event

new

struct

as

explicit

null

switch

base

extern

object

this

bool

false

operator

throw

break

finally

out

true

byte

fixed

override

try

case

float

params

typeof

catch

for

private

uint

char

foreach

protected

ulong

checked

goto

public

unchecked

class

if

readonly

unsafe

const

implicit

ref

ushort

continue

in

return

using

decimal

int

sbyte

virtual

default

interface

sealed

volatile

delegate

internal

short

void

do

is

sizeof

while

double

lock

stackalloc

 

else

long

static

 

enum

namespace

string

 

Einige Bezeichner haben nur in speziellen Kontexten den Charakter von Schlüsselwörtern. Hierzu gehören zum Beispiel: add, async, await, dynamic, get, group, orderby, partial, remove, select, set, value, where oder yield.

Get Microsoft Visual C# 2012 - Das Entwicklerbuch. Mit einem ausführlichen Teil zur Erstellung von Windows Store Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.