Advertisement
ChaosTheosis

Data Types

Jan 25th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.82 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Tutorial_Project_1.Tutorial_1_Examples
  8. {
  9.   class DataTypes
  10.     {
  11.  
  12.         /*
  13.          *Byte can store up to 255 of numbers.
  14.          *int can store up to 2 billion numbers
  15.          *sbyte -128 127 numbers
  16.          *short -32,768 to 32,767
  17.          *ushort = 0 to 65,535
  18.          *uint = 0 to 4 billion
  19.          *long = -9,000,000,000,000,000,000 to 9,000,000,000,000,000,000
  20.          *ulong = 0 to 18,446,744,073,073,709,551,615
  21.          *float = -3.402823e38 to 3.402823e38
  22.          *double -1.321387431287632341 to 1.321387431287632341
  23.          *decimal -791209371290838712908 to 791209371290838712908
  24.          *bool = true or false
  25.          *string unicode (text)
  26.          */
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement