C#: 02-Create Project

Create 'Essentials2017' Console App (.NET Core)


 

Solution Explorer Results


 

Program.cs is created with a Main method that accept arguments


 

using System;

namespace Essentials2017
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

CTRL-F5 to Run program ( F5 to Debug)


 

Build Output

1>------ Build started: Project: Essentials2017, Configuration: Debug Any CPU ------
1>Essentials2017 -> C:\Users\silosix\source\repos\CEssentials2018\Essentials2017\bin\Debug\netcoreapp2.1\Essentials2017.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Console.WriteLine(“”)

Hello World!
Press any key to continue . . .

Tags