Hi,
I am new to this forum and C#. I have following code.
Console.WriteLine("Enter a character");
int int1 = Console.Read();
Console.WriteLine(int1);
Console.WriteLine("Enter a string of characters");
string string1 = Console.ReadLine();
Console.WriteLine(string1);
Console.ReadLine();
When I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.