Go to, https://dotnet.microsoft.com/en-us/download
Open Vs code's termainl and check if you have installed .NET by typing,
dotnet --version
for version and
dotnet --info
for info