Skip to Content
C# 5.0 kurz & gut
book

C# 5.0 kurz & gut

by Joseph Albahari, Ben Albahari, Lars Schulten
March 2013
Intermediate to advanced content levelIntermediate to advanced
224 pages
5h 17m
German
O'Reilly Verlag
Content preview from C# 5.0 kurz & gut

Numerische Typen

C# bietet die folgenden vordefinierten numerischen Typen:

C#-Typ

Systemtyp

Suffix

Breite

Bereich

Ganzzahlig mit Vorzeichen

sbyte

SByte

 

8 Bit

–27 bis 27–1

short

Int16

 

16 Bit

–215 bis 215–1

int

Int32

 

32 Bit

–231 bis 231–1

long

Int64

L

64 Bit

–263 bis 263–1

Ganzzahlig ohne Vorzeichen

byte

Byte

 

8 Bit

0 bis 28–1

ushort

UInt16

 

16 Bit

0 bis 216–1

uint

UInt32

U

32 Bit

0 bis 232–1

ulong

UInt64

UL

64 Bit

0 bis 264–1

Reell

 

float

Single

F

32 Bit

± (~10–45 bis 1038)

double

Double

D

64 Bit

± (~10–324 bis 10308)

decimal

Decimal

M

128 Bit

± (~10–28 bis 1028)

Von den ganzzahligen Typen sind int und long Bürger erster Klasse und werden von C# und der Runtime bevorzugt. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Richtig einsteigen: Programmieren lernen mit Visual C# 2013

Richtig einsteigen: Programmieren lernen mit Visual C# 2013

Dirk Louis
Projektmanagement kurz & gut

Projektmanagement kurz & gut

Daniel Brönimann, Christoph Bommer
ATDD in der Praxis

ATDD in der Praxis

Markus Gärtner

Publisher Resources

ISBN: 9783955611002Purchase book