Search........

Google

Thursday, March 6, 2008

converting to character

/ /converting to character .......

using System;

namespace nm1

{

class cl1

{

static void Main()

{

char ch;
Console.WriteLine("enter a character");

ch=Convert.ToChar(Console.ReadLine());

Console.WriteLine("The character entered is "+ ch);
}

}

}

No comments: