title: Normalize directory names in C#
body: <p>Here's the problem, I have a bunch of directories like</p>
  
  <blockquote>
    <p>S:\HELLO\HI<br>
    S:\HELLO2\HI\HElloAgain</p>
  </blockquote>
  
  <p>On the file system it shows these directories as</p>
  
  <blockquote>
    <p>S:\hello\Hi<br>
    S:\hello2\Hi\helloAgain</p>
  </blockquote>
  
  <p>Is there any function in C# that will give me what the file system name of a directory is with the proper casing?</p>