Hello, Console App!
using System; namespace HelloWordConsoleApp { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.ReadKey(); } } }
How to run
CMD Command>dotnet run HelloWordConsoleApp.csproj
or
CMD Command>dotnet run
Output C:\HelloWordConsoleApp>dotnet run HelloWordConsoleApp.csproj
Hello World!
or
CMD Command>dotnet run
Output C:\HelloWordConsoleApp>dotnet run HelloWordConsoleApp.csproj
Hello World!