Ubuntu上的Monodevelop Console.ReadLine不起作用

Noz*_*zim 4 mono console-application monodevelop ubuntu-10.04

我正在尝试在Ubuntu上开发Mono平台.但是我的第一个应用程序遇到了麻烦:)这是代码:

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");
    }


}
Run Code Online (Sandbox Code Playgroud)

}

这是结果:

The start

the end

并且它们之间没有任何字符串,也没有从控制台读取,我无法输入任何内容.问题是什么?也许我做错了什么?

我的环境:

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

jst*_*ast 10

MonoDevelop的默认控制台不支持ReadLine(),但您可以在项目选项中设置一个选项来启动外部控制台.

选项/运行/常规/在外部控制台上运行