C# two Console.ReadLine(), one input window

Code: string a; string b; a=Console.ReadLine(); b=Console.ReadLine(); // Why i only get 1 input window? The value is stored in both variables. Im using mozilla.

12/1/2018 10:24:46 AM

Ville Keituri

4 Answers

New Answer


Here you have multiple inputs so write each input on seperate line in that input window // Assuming that you are using c# on Sololearn


--- You can use visual studio IDE for c#


Sololearn does not support live console . Sololearn compiler requires us to give multiple inputs in once. If not, exception will arise


Yes i am. Thank you for advice. It is different than javascript, confused. :)