任务描述
本关的任务:编写你的第一个C#程序。程序执行后,在右侧控制台窗口中输出“Hello World”。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace A1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World, C#");
}
}
}
本文指导如何使用C#语言创建并运行一个基础程序,输出HelloWorld到控制台。展示了`Main`方法的基本用法。

被折叠的 条评论
为什么被折叠?



