C# Loop through directories with nesting index
<p>How can I loop through directories with specified nesting index using C#?</p>

<p>Little example:<br></p>

<pre><code>Folder1
|__Folder1.1
|  |__Folder1.1.1
|__Folder1.2

Folder2
|__Folder2.1
   |__Folder2.1.1
   |__Folder2.1.2
      |__Folder2.1.2.1
</code></pre>

<p>With max nesting index 1 we will get following directories:<br>
<em>(nesting level 0)</em> Folder1, Folder2<br>
<em>(nesing level 1)</em> &nbsp;Folder1.1, Folder1.2, Folder2.1</p>

<p>Thanks in advance!</p>
