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