如何确定运行我的.NET Core应用程序的操作系统?过去我可以使用Environment.OSVersion.
Environment.OSVersion
确定我的应用程序是在Mac还是Windows上运行的当前方法是什么?
c# .net-core
.net-core ×1
c# ×1