Skip to Content
C# 7.0 – kurz & gut, 5th Edition
book

C# 7.0 – kurz & gut, 5th Edition

by Joseph Albahari, Ben Albahari
April 2018
Intermediate to advanced content levelIntermediate to advanced
238 pages
4h 32m
German
dpunkt
Content preview from C# 7.0 – kurz & gut, 5th Edition

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. Die anderen ganzzahligen ...

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

C# 8.0 – kurz & gut, 6th Edition

C# 8.0 – kurz & gut, 6th Edition

Joseph Albahari, Ben Albahari
Reguläre Ausdrücke Kochbuch

Reguläre Ausdrücke Kochbuch

Jan Goyvaerts, Steven Levithan

Publisher Resources

ISBN: 9781492067740