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()
catch (Exception ex) { Console.WriteLine(ex.StackTrace); }