c# - Why does the ReadLine () method NOT pause for user input? -
i began study c#, ran problem. readline()
method not pause user input. started c#, , works on other people's programs, have no idea why. using xamarin on mac.
here example code not work:
using system; namespace learningc { public class learningsharp { public static void main (string[] args) { console.writeline (console.readline ()); } } }
i found out solution. right click on project , select options. then, select general under run tab , check "pause console output" ("run on external console" must checked work.)
Comments
Post a Comment