Skip to Content
C# 3.0: kurz & gut
book

C# 3.0: kurz & gut

by Joseph Albahari, Ben Albahari
May 2008
Intermediate to advanced content levelIntermediate to advanced
248 pages
3h 50m
German
O'Reilly Verlag
Content preview from C# 3.0: kurz & gut

Numerische Typen

C#-Typ

System-Typ

Suffix

Größe

Bereich

Ganzzahl – vorzeichenlos

   

8 Bit

−27bis 27−1

   

16 Bit

−215 bis 215−1

   

32 Bit

−231 bis 231−1

   

64 Bit

−263 bis 263−1

Ganzzahl – vorzeichenbehaftet

   

8 Bit

0 bis 28−1

   

16 Bit

0 bis 216−1

   

32 Bit

0 bis 232−1

   

64 Bit

0 bis 264−1

Gleitkommazahl

   

32 Bit

±(~10−45 bis 1038)

   

64 Bit

±(~10−324 bis 10308)

   

128 Bit

±(~10−28 bis 1028)

ganzzahligen

Gleitkommazahlen

Numerische Literale

Integer-Literale

Gleitkomma-Literale

Ermittlung des Typs aus einem numerischen Literal

ermittelt

Console.Write(       1.0.GetType(  ));  // Double (double)
Console.Write(      1E06.GetType(  ));  // Double (double)
Console.Write(         1.GetType(  ));  // Int32 (int)
Console.Write(0xF0000000.GetType(  ));  // UInt32 (uint)

Numerische Suffixe

Numerische Suffixe

Kategorie ...

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

How I Built a Personal Board of Directors With GenAI

How I Built a Personal Board of Directors With GenAI

Vipin Gupta
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9783897215443