0% found this document useful (0 votes)
33 views1 page

Tipos C#

The document describes different data types in C# including their byte size and possible value ranges. It lists byte, char, bool, sbyte, short, ushort, int, uint, long, ulong, float, double, and decimal types along with their byte sizes from 1 to 12 bytes and the set of values each type can hold.

Uploaded by

bustibus
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Tipos C#

The document describes different data types in C# including their byte size and possible value ranges. It lists byte, char, bool, sbyte, short, ushort, int, uint, long, ulong, float, double, and decimal types along with their byte sizes from 1 to 12 bytes and the set of values each type can hold.

Uploaded by

bustibus
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Tipo

byte char bool sbyte short ushort int uint long ulong float double

Bytes System. Description


1 2 1 1 2 2 4 4 8 8 4 8

Byte Char Boolean SByte Int16 UInt16 Int32 UInt32 Int64 UInt64 Single Double Decimal

0 - 255 Unicode characters. True or false. -128 a 127 -32.768 and 32.767 0 a 65.535 -2.147.483.648 a 2.147.483.647 0 a 4.294.967.295 -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. 0 to approximately 1.85 x 1019. Floating-point number. Holds the values from approximately +/-1.5 x 10-45 to approximately +/-3.4 x 1038 with seven significant figures. Double-precision floating-point. Holds the values from approximately +/-5.0 x 10324 to approximately +/-1.8 x 10308 with 15 to 16 significant figures. Fixed-precision up to 28 digits and the position of the decimal point. This type is typically used in financial calculations. Requires the suffix "m" or "M" when you declare a constant.

decimal 12

You might also like