check .net core version visual studio code example
Example 1: check version of asp.net core
dotnet --info
Example 2: how to change the default version dotnet version
{
"sdk": {
"version": "2.1.103"
}
}
dotnet --info
{
"sdk": {
"version": "2.1.103"
}
}