I come from C, where you can put two scanf with one number in each and there's no problem.
But I'm know starting with C#, and for some reason, when I use Console.Read() more than one time, I can't use the second one. Looks like there's something in the buffer for the second one and doesn't let me add a second number.
Ex:
Console.Write("First number: ");
int input1 = Console.Read();
Console.Write("Second number: ");
int input2 = Console.Read();
Console.Write("{0} + {1} = {2}", input1, input2, input1 + input2);
Using this code, it just let me add a number in the input1, when I press enter to go to the input2, it just skips it and goes to the last sentence.
If I use the number 1 as the first input, it goes to the last sentence saying 49 + 13 = 62.
Does this method works way different than it does in C? Because I don't get it