News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Data Types in C#

Started by OmMuruga, Feb 01, 2009, 04:25 PM

Previous topic - Next topic

OmMuruga

Integer Data Types


Type Specifier           Bits                    Range

byte                           8                        0 through 255
sbyte                          8                       – 128 through 127
short                          16                      – 32,768 through 32,767
ushort                        16                      0 through 65,535
int                              32                    – 2,147,483,648 through 2,147,483,647
u int                           32                    0 through 4,294,967,295
long                           64                    – 9,223,372,036,854,775,808 through
                                                                                    9,223,372,036,854,775,807
ulong                                               64                       0 through 18,446,744,073,709,551,615 


FLOATING DATA TYPE

Type Specifier                 Bits Range                                              Data Suffix
Decimal                      128 ± 1.0 × 10 –28 to ± 7.9 × 10 28                 M , m


BOOLEAN DATA TYPE

Type Specifier             Bits                           Values                    Data Suffix
bool                               8                            true , false                    None



:acumen

dhoni

they have given many data types
this should able in the explanation