I have the following sample project and I use MonoDevelop in OpenSuse. I can build the project, but when I execute it, it does not show any console where I can enter the string. I am aware about people indicating that we should set the Project options to "Run on External Console". That option is enabled, but there is no console appearing when I execute the program under MonoDevelop. Do we have to open a console separately and attach to process, or is there another trick?
using System;
namespace ConsoleReadLine
{
class MainClass
{
public static void Main (string[] args)
{
string s = Console.ReadLine ();
Console.WriteLine (s);
Console.ReadLine ();
}
}
}