Data Types

  • byte 8bits (0 to 255)
  • sbyte 8bits (-127 to 127)
  • short 16bits (32k)
  • ushort 16bits (64k)
  • int 32bits (2M)
  • uint

  • var a = 1;   // int
  • var a = 1U;  // uint
  • var a = 1F;  // float
  • var a = 1D;  // double
  • var a = 1M;  // decimal (money)

Comments

Popular posts from this blog

Staff Dismissal