Advertisement
fbinnzhivko

Practice Integers

May 19th, 2016
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1. using System;
  2. class PracticeIntigerNumbers
  3. {
  4.     static void Main()
  5.     {
  6.         sbyte n1 = -100;
  7.         byte n2 = 128;
  8.         short n3 = -3540;
  9.         ushort n4 = 64876;
  10.         uint n5 = 2147483648;
  11.         int n6 = -1141583228;
  12.         long n7 = -1223372036854775808;
  13.         Console.WriteLine(n1);
  14.         Console.WriteLine(n2);
  15.         Console.WriteLine(n3);
  16.         Console.WriteLine(n4);
  17.         Console.WriteLine(n5);
  18.         Console.WriteLine(n6);
  19.         Console.WriteLine(n7);
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement