Here's a simple Hello World
program in C# using Visual Studio IDE:
main.cs124 chars10 lines
Alternatively, you can use .NET Core command line to create a console application and run the program using the following steps:
dotnet new console
.cd <project-name>
.Program.cs
file in a text editor, such as Visual Studio Code.main.cs124 chars10 lines
dotnet run
. You should see Hello World!
printed in the terminal.gistlibby LogSnag