W3School TIY Editor

  • W3School 在线教程
  • 改变方向
  • 暗黑模式
​x
 
using System;
​
namespace MyApplication
{
  class Program
  {
    static int MyMethod(int x)
    {
      return 5 + x;
    }
​
    static void Main(string[] args)
    {
      Console.WriteLine(MyMethod(3));
    }
  }
}