Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

I cant get Console.ReadLine or ReadKey to work properly

$
0
0

I recently started coding in c# and i need help for a problem i cant fix myself When ever i use the method Console.ReadKey or ReadLine it wont work
Heres a code i used to explain my problem

Console.WriteLine ("Hello World");
Console.ReadKey ();
Console.WriteLine ("GoodBye World");

I press play and all i get is
Hello World
Then when I press any key nothing happens I never get GoodBye World and I have to close the output window manually, Has anyone else had this problem and if so how did you fix it please help.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>