第一步 环境(UBUNTU系统下)

sudo apt-get install mono-gmcs mono

第二步 建立example.cs

class X {
static void Main () {
System.Console.Write("My first mono app worked!\n");
}
}


第三步 编译

gmcs example.cs


第四步 执行

./example.exe

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2021-09-03
  • 2022-01-16
  • 2021-12-04
  • 2022-12-23
  • 2021-06-24
  • 2021-11-16
猜你喜欢
  • 2021-12-03
  • 2021-10-29
  • 2022-01-06
  • 2022-12-23
  • 2021-10-13
  • 2021-10-26
  • 2022-02-28
相关资源
相似解决方案