title: Recursive method that adds elements to list
body: <p>I would like to get the list of all sub-directories of a folder, including the nested ones.<br>
  Therefore, I would like to have a <code>list&lt;Folder&gt; myList</code> that will be filled by a recursive method. </p>
  
  <pre><code> void myMethod(?)  
   {
     list&lt;Folder&gt; listFolders = ...  ;
     foreach (Folder curFolder in listFolders)
        {
          myList.add(curFolder);
        }
   }
  </code></pre>
  
  <p>Is it possible?</p>