Console Application | Microsoft Learn
learn.microsoft.com › console-teleprompterSep 29, 2022 · Make that the current directory. Type the command dotnet new console at the command prompt. This creates the starter files for a basic "Hello World" application. Before you start making modifications, let's run the simple Hello World application. After creating the application, type dotnet run at the command prompt. This command runs the NuGet package restore process, creates the application executable, and runs the executable.