Skip to content

zhongwcool/ConsoleApps

Repository files navigation

项目的目标框架是.NET 6,运行本项目你最好需要先安装.NET 6 SDK

本项目支持c#9开始引入的top-level statements,同时也仍然兼容Main入口模式。

The typical starting point for a new console application looks like the following code:

using System;

namespace Application
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

The C# templates for .NET 6 use top-level statements:

// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

.NET开发路线图

About

C#学习之路

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages