Accessing Environment Settings : Environment : Development C# Examples


C# Examples » Development » Environment »

 

Accessing Environment Settings









    
using  System;

class  MainClass
{
        public  static  void  Main()
        {
                Console.WriteLine("Stack  Trace:  {0}",  Environment.StackTrace);
                
        }
}
    
   
  
   



Output

Stack Trace:    at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at MainClass.Main()


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Environment