title: Why doesn't Clipboard.GetText work?
body: <pre><code>String str = Clipboard.GetText();
  </code></pre>
  
  <p>throws an exception</p>
  
  <blockquote>
    <p>An unhandled exception of type
    'System.StackOverflowException'
    occurred in PresentationCore.dll</p>
  </blockquote>
  
  <p>How do I prevent this problem?</p>