title: Uri.AbsolutePath messes up path with spaces
body: <p>In a WinApp I am simply trying to get the absolute path from a Uri object:</p>
  
  <pre><code>Uri myUri = new Uri(myPath); //myPath is a string
  //somewhere else in the code
  string path = myUri.AbsolutePath;
  </code></pre>
  
  <p>This works fine if no spaces in my original path. If spaces are in there the string gets mangled; for example 'Documents and settings' becomes 'Documents%20and%20Setting' etc.</p>
  
  <p>Any help would be appreciated!</p>
  
  <p><strong>EDIT:</strong>
  LocalPath instead of AbsolutePath did the trick!</p>