Accessing Environment Settings : Environment : Development C# Examples


C# Examples » Development » Environment »

 

Accessing Environment Settings









    
using  System;

class  MainClass
{
        public  static  void  Main(string[]  args)
        {
        Console.WriteLine("Current  OS:\n{0}\n",  Environment.OSVersion);

        }
}
    
   
  
   



Output

Current OS:
Microsoft Windows NT 5.1.2600 Service Pack 2


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Environment