Is there a C# equivalent method to Java\'s Exception.printStackTrace() or do I have to write something myself, working my way through the InnerExceptions?
Exception.printStackTrace()
I would like to add: If you want to print the stack outside of an exception, you can use:
Console.WriteLine(System.Environment.StackTrace);