Advertisement
thegrudge

PrintTheASCIITable

Nov 13th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. using System;
  2. using System.Text;
  3. class PrintTheASCIITable
  4. {
  5.     static void Main()
  6.     {
  7.         Console.OutputEncoding = Encoding.Unicode;
  8.         for (int i = 0; i <= 255; i++)
  9.         {
  10.             Console.WriteLine("{0} -> {1}", i, (char)i);
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement