Venciity

[ Telerik C#] Primitives And Variables - EX 12

Feb 13th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1. /*Find online more information about ASCII (American Standard Code for Information Interchange)
  2.  * and write a program that prints the entire ASCII table of characters on the console.*/
  3. using System;
  4. using System.Text;
  5.  
  6. namespace _12_ASCIITable
  7. {
  8.     class ASCIITable
  9.     {
  10.         static void Main()
  11.         {
  12.             for (int i = 0; i < 127; i++)
  13.             {
  14.                 Console.WriteLine("Character {0} = {1}",i,(char)i);
  15.             }
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment