Appendix L. Simple Types

Figure L.1. Simple types.

Type

Size in bits

Value range

Standard

bool

8

true or false

 

byte

8

0 to 255, inclusive

 

sbyte

8

128 to 127, inclusive

 

char

16

'u0000' to 'uFFFF' (0 to 65535), inclusive

Unicode

short

16

32768 to 32767, inclusive

 

ushort

16

0 to 65535, inclusive

 

int

32

2,147,483,648 to 2,147,483,647, inclusive

 

uint

32

0 to 4,294,967,295, inclusive

 

float

32

Approximate negative range:

IEEE 754

   

3.4028234663852886E+38 to

IEC 60559

   

1.40129846432481707E45

 
   

Approximate positive range:

 
   

1.40129846432481707E45 to

 
   

3.4028234663852886E+38

 
   

Other supported values:

 
   

positive and negative zero

 
   

positive and negative infinity

 
   

not-a-number (NaN)

 

long

64

9,223,372,036,854,775,808 to

 
   

9,223,372,036,854,775,807, inclusive

 

ulong

64

0 to 18,446,744,073,709,551,615, inclusive

 

double

64

Approximate negative range:

IEEE 754

   

1.7976931348623157E+308 to

IEC 60559

   

4.94065645841246544E324

 
   

Approximate positive range:

 
   

4.94065645841246544E324 to

 
   

1.7976931348623157E+308

 
   

Other supported values:

 
   

positive and negative zero

 
   

positive and negative infinity

 
   

not-a-number (NaN)

 

decimal

128

Negative range:

   

79,228,162,514,264,337,593,543,950,335

 
   

(7.9E+28) to 1.0E28

 
   

Positive range:

 
   

1.0E28 to

 
   

79,228,162,514,264,337,593,543,950,335

 
   

(7.9E+28)

 


Preface

Index

    Introduction to Computers, the Internet and Visual C#

    Introduction to the Visual C# 2005 Express Edition IDE

    Introduction to C# Applications

    Introduction to Classes and Objects

    Control Statements: Part 1

    Control Statements: Part 2

    Methods: A Deeper Look

    Arrays

    Classes and Objects: A Deeper Look

    Object-Oriented Programming: Inheritance

    Polymorphism, Interfaces & Operator Overloading

    Exception Handling

    Graphical User Interface Concepts: Part 1

    Graphical User Interface Concepts: Part 2

    Multithreading

    Strings, Characters and Regular Expressions

    Graphics and Multimedia

    Files and Streams

    Extensible Markup Language (XML)

    Database, SQL and ADO.NET

    ASP.NET 2.0, Web Forms and Web Controls

    Web Services

    Networking: Streams-Based Sockets and Datagrams

    Searching and Sorting

    Data Structures

    Generics

    Collections

    Appendix A. Operator Precedence Chart

    Appendix B. Number Systems

    Appendix C. Using the Visual Studio 2005 Debugger

    Appendix D. ASCII Character Set

    Appendix E. Unicode®

    Appendix F. Introduction to XHTML: Part 1

    Appendix G. Introduction to XHTML: Part 2

    Appendix H. HTML/XHTML Special Characters

    Appendix I. HTML/XHTML Colors

    Appendix J. ATM Case Study Code

    Appendix K. UML 2: Additional Diagram Types

    Appendix L. Simple Types

    Index



    Visual C# How to Program
    Visual C# 2005 How to Program (2nd Edition)
    ISBN: 0131525239
    EAN: 2147483647
    Year: 2004
    Pages: 600

    Similar book on Amazon

    Flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net