.NET core is a Cross Platform Microsoft Open Source framework which supports variety of platforms including Ubuntu, Debian, Fedora, CentOS, RHEL, MAC and of course Windows.
Install .Net Core SDK
Download .Net Core SDK based on the platform that you are working on and install it.
Go to the terminal and create a new directory and run following command
To run the app you need to restore the packages using the below command and run the next command to see the output of the hello world program
if you are looking for more samples you can visit the dotnet github page.