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);
         }
      }
   }
}
 
No comments:
Post a Comment