选择 控制台应用(.NET Framework)
Hello World
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");//输出 Hello World
Console.ReadKey();//防止控制台窗口直接关闭。
}
}
}
控制台