Pages

Monday, 29 January 2018

C# PROGRAM TO PRINT ASCII CHARACTERS

C# PROGRAM TO PRINT ASCII CHARACTERS
using System;

namespace AsciiCharacters
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = 1, i;
            for (i = 0; i < 250; i++) //prints ascii characters from 1 to 250
                Console.Write((char)i+"\t"); 
             Console.ReadKey();
           
        }
    }

}