title: Is there a way to get the stacktraces for all threads in c#, like java.lang.Thread.getAllStackTraces()?
body: <p>In java it is possible to get a snapshot of the stacktraces of all running threads.
  This is done with <code>java.lang.Thread.getAllStackTraces()</code> (it returns <code>Map&lt;Thread,StackTraceElement[]&gt;</code>).</p>
  
  <p>How can this be done with .net?</p>