To install Visual Studio Code we need to open a terminal window

First install the key

 sudo rpm --import

Install the repository

sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=\nenabled=1\ngpgcheck=1\ngpgkey=" > /etc/yum.repos.d/vscode.repo'

Update the package cache

 sudo dnf check-update

Then install code

  sudo dnf install code

Now that VS code is installed

Lets install the .net core 3.1 sdk

First get the key and repo

  sudo rpm --import

  sudo wget -O /etc/yum.repos.d/microsoft-prod.repo

Now we can install .net core 3.1

  sudo dnf install dotnet-sdk-3.1

Make sure in Visual Studio code you install the C# extension by Microsoft