dotnet new console -o MyApp -f net6.0  dotnet new console 命令将为你新建控制台应用。  -o 参数会创建名为 MyApp 的目录,用于存储应用并使用所需文件进行填充。  
          >dotnet new console -o MyApp -f net6.0
- 
dotnet new console 命令将为你新建控制台应用。- 
-o 参数会创建名为MyApp 的目录,用于存储应用并使用所需文件进行填充。- 
-f 参数指示你正在创建 .NET 6 应用程序。
参考地址:https://dotnet.microsoft.com/zh-cn/learn/dotnet/hello-world-tutorial/create
