Tipos C#
Tipos C#
byte char bool sbyte short ushort int uint long ulong float double
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