[ubuntu-mono] [Bug 516356] Re: MonoDevelop ignores Console.ReadLine()
Tyler Burton
516356 at bugs.launchpad.net
Mon Oct 4 21:44:49 UTC 2010
This bug is still present in Ubuntu 10.04 and MonoDevelop 2.2
--
MonoDevelop ignores Console.ReadLine()
https://bugs.launchpad.net/bugs/516356
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to monodevelop in ubuntu.
Status in “monodevelop” package in Ubuntu: Confirmed
Bug description:
Binary package hint: monodevelop
Create a brand new console project and add the following lines of code:
Console.WriteLine("Hello!");
string input = Console.ReadLine();
Console.WriteLine("The input was: " + input);
The expected output is:
Hello!
[user enters text and hits enter]
The input was: [user entered text]
The actual output is:
Hello!
The input was:
However if you actually run the compiled program from the terminal using "mono [exe]" it works just fine.
More information about the Ubuntu-mono
mailing list