title: The best way to move a directory with all its contents(files or folders) in C#?
body: <p>What is the best way to move directory with all its contents(files or folders) in C#?</p>
  
  <p>I used the following codes, but it throws <code>The Directory is not empty</code> exception :</p>
  
  <pre><code>Microsoft.VisualBasic.FileIO.FileSystem.MoveDirectory(sourceFullName, destFullName, true);
  Directory.Move(sourceFullName, destFullName); //Added in edit
  </code></pre>