parsing reading two integers in one line using C# ...
One option would be to accept a single line of input as a string and then process it. For example: //Read line, and split it by whitespace into an array of strings string[] tokens = ().Split(); //Parse element 0 int a = (tokens[0]); //Parse element 1 int b = (tokens[1]);