Answers for ".net core check if 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

C# Answers by Framework

Browse Popular Code Answers by Language