title: How to delete subdirectories
body: <p>Lets say a have some path:
  <strong>C:\Temp\TestFolder1\TestFolder2</strong></p>
  
  <p>And I have some template:
  <strong>C:\Temp</strong></p>
  
  <p>So I want to write function that will delete all subdirectories by template</p>
  
  <pre><code>void DeleteSubdirectories(string tlt, string path) {}
  </code></pre>
  
  <p>If I call this function with given parameters</p>
  
  <pre><code>DeleteSubdirectories("C:\Temp", "C:\Temp\TestFolder1\TestFolder2");
  </code></pre>
  
  <p>It must delete <strong>TestFolder1\TestFolder2</strong> subdirectories from '<strong>C:\Temp</strong></p>
  
  <p>What is the best way to write this function?</p>