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
| 归档时间: |
|
| 查看次数: |
4188 次 |
| 最近记录: |