I am trying to save the value i get through Console.Read() in an Integer, but whatever i type in my keyboard, the console always gives out 13. I tried to copy an example code, which definitly has to work, but im still only getting 13 as value.
using System;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
Console.Read();
int Test = Console.Read();
Console.WriteLine(Test);
}
}
}
After i typed in a number, it always shows '13' in the console.