macOS/windows查看当前dotnet版本的2种方法和查看CLR/runtime的1种方法
(认知有限,如有不妥,还望告知,欢迎讨论)
查看dotnet版本
两种方法都适用于mac和windows
method1:
执行dotnet --info
method2:
执行dotnet --version
macOS screenshot:

windows screenshot:

查看CLR/runtime版本
mac和win都适用
windows screenshot:

mac screenshot:

=END=