title: How to manage DirectoryInfo writing/reading exceptions?
body: <p>How to manage DirectoryInfo writing/reading exceptions?</p>
  
  <pre><code> DirectoryInfo di = new DirectoryInfo(tbKeresesHelye.Text);
   foreach (var f in di.GetFiles("*", SearchOption.AllDirectories))
   {
     richTextBox1.Text = richTextBox1.Text + f.Directory + "\\" + f.Name + " &gt;&gt; " + f.Length + "\n";
   }
  </code></pre>