Yurttas/PL/OOL/CS/F/02/01/02.html

From ZCubes Wiki
Revision as of 07:19, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "{| width="100%" cellpadding="4" | class="y01" | <span class="b10"> c# programming language fundamentals </span> | class="y01" | <div class="right"><span class="h06b"> <span...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
c# programming language fundamentals
2. c# language fundamentals

types - simple types provided by c# reserved words

c# simple types
type size(in bytes) .NET type description
byte 1 Byte unsigned (0-255)
char 2 Char unicode chars
bool 1 Boolean true or false
sbyte 1 SByte signed (-127 - 128)
short 2 Int16 signed (-32768 - 32767)
ushort 2 UInt16 signed (0 - 65535)
int 4 Int32 signed (-2147483648 - 2147483647)
uint 4 UInt32 unsigned (0 - 4294967295)
float 4 Single floating-point (+/-1.5*10^-45 - +/-3.4*10^38)
double 8 Double floating-point (+/-5*10^-324 - +/-1.8*10^308)
decimal 16 Decimal fixed-precision with 28 digits (rquires "m/M"
long 8 Int64 signed (-9223372036854775808 - 223372036854775807)
ulong 8 UInt64 unsigned (0 - 0xffffffffffffffff)

c#, .net framework, and visual studio.net << | >> classes, objects


Dr.Salih Yurttas