Code C# on a Mac with Visual Studio Code and .NET Core

Install C# extention in Visual Studio Code editor

Install .NET Core

Search .NET Core by Google, then go to the office site to download it and install by the guide in the website.

Initialize some code

mkdir hwapp
cd hwapp
dotnet new

Run the app

dotnet restore
dotnet run