Monodevelop on Ubuntu.ReadLine console not working

I am trying to develop the Mono platform on Ubuntu. But I have problems with the first application :) Here is the code:

using System; using System.Threading; namespace threadings { class MainClass { public static void Main (string[] args) { Console.WriteLine ("The start"); string x=Console.ReadLine(); Console.WriteLine(x); Console.WriteLine ("the end"); } } 

}

And here is the result:

  The start

 the end

And between them there is no line, and no reading from the console happens, and I can not enter anything. What is the problem? Maybe I'm something wrong?

My environment:

  Ubuntu: Linux nozim-desktop 2.6.32-32-generic-pae
 MonoDevelop: 
         version: 2.2.1 
         Build date: 2010-03-09 16: 12: 25 + 0000
+4
source share
1 answer

MonoDevelop's default console does not support ReadLine (), but you can set an option in the project settings to launch an external console.

Options / Startup / General / Run on the external console

+10
source

All Articles