首先需要搭建.net环境:
centos搭建.net3.1环境
创建.net的控制台app
dotnet new console -o myApp cd myApp
myApp目录结构
运行这个项目
dotnet run