Showing posts with label Display the ASCII Values of Numbers.. Show all posts
Showing posts with label Display the ASCII Values of Numbers.. Show all posts

Sunday, September 3, 2017

Display the ASCII Values of Numbers.

Display the ASCII Values of Numbers.

using System;
namespace PrintASCII
{
   class PrintASCII
   {
      static void Main(string[] args)
      {
       for (int i =0; i <= 1000; i++)
         {
            System.Console.WriteLine("{0} = {1}", i, (char)i);
         }
      }
   }
  
}