title: Renaming Directory with same name different case
body: <p>I am trying to rename a directory in c# to a name that is the same only with differing case.</p>
  
  <p>For example:
  f:\test to f:\TEST</p>
  
  <p>I have tried this code: </p>
  
  <pre><code>var directory = new DirectoryInfo("f:\\test");
  directory.MoveTo("f:\\TEST");
  </code></pre>
  
  <p>and I get a IOException - Source and destination path must be different. I have also tried Directory.Move() with the same result.</p>
  
  <p>How is this done? Do I have to create a separate temp directory, move the contained files from the original directory to the temp directory, and then delete the original, and rename the temp directory?</p>