Answers for "how to check if .net core build is running on linux"

C#
0

.net core check if linux

if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
    Console.WriteLine("We're on macOS!");
}
Posted by: Guest on June-09-2020

Code answers related to "how to check if .net core build is running on linux"

C# Answers by Framework

Browse Popular Code Answers by Language