I have this C# code:
public static void Main(string[] args)
{
    string os = System.OperatingSystem;
    Console.ForegroundColor = ConsoleColor.White;
    //..and more
and it says that "'System.OperatingSystem' is a 'type', which is not valid in the given context (CS0119)".So how to delete this error?
 
    