Not sure where to start? See the Hello World in 10 minutes tutorial to install .NET and build your first app.
Before installing .NET, you'll need to register the Microsoft key, register the product repository, and install required dependencies. This only needs to be done once per machine.
Open a terminal and run the following commands:
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
Update the products available for installation, then install the .NET SDK.
In your terminal, run the following commands:
sudo yum update sudo yum install dotnet-sdk-2.2