Gets current stack trace information.
using System; class Sample { public static void Main() { Console.WriteLine("StackTrace: '{0}'", Environment.StackTrace); } }