dotnet new console --name Test && cd Test && dotnet build && dotnet run
Program.cs
The template "Console App" was created successfully.Processing post-creation actions...Restoring /Users/[my IRL name here]/Test/Test.csproj: Determining projects to restore... Restored /Users/[my IRL name here]/Test/Test.csproj (in 160 ms).Restore succeeded.
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup></Project>
Console.WriteLine("Hello World");
dotnet build