Gets the call stack for the current thread.
Assembly: System (in System.dll)
The StackTrace property of the Environment class. The property value lists method calls in reverse chronological order. That is, the most recent method call is described first. One line of stack trace information is listed for each method call on the stack. For more information, see StackTrace.property gets the call stack from the
Available since 2.0