title: How to rename a file in .NET?
body: <p>Using <code>System.IO.File</code> or another <code>.NET</code> class, what is the best way to rename a file?</p>
  
  <p>I want to be able to rename files on local drives or on network locations.</p>
  
  <p>If using <code>System.IO.File</code>, is <code>Move</code> the best way?</p>