Here's a simple Hello World program in C# using Visual Studio IDE:
main.cs124 chars10 linesAlternatively, 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 linesdotnet run. You should see Hello World! printed in the terminal.gistlibby LogSnag