title: Is the .ToString method on an Exception recursive?
body: <p>I work in a rather complex environment where sometimes the <em>real</em> exception is an inner exception several layers deep... so I was tempted to write code like this:</p>
  
  <pre><code>Dim innerEx = ex.InnerException
  While innerEx IsNot Nothing
    innerEx = innerEx.InnerException
  End While
  </code></pre>
  
  <p>However, according to the <a href="http://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx" rel="nofollow">MSDN documentation</a> the ToString method calls ToString on its InnerException... since that is an exception, can I assume that this will work recursively?</p>