command line to test version of .net core code example Example: check version of asp.net core dotnet --info