title: C# file/folder monitor
body: <p>I already managed to see file and folder changes with the FileSystemWatcher.</p>
  
  <p>My problem is that I can't make a difference between files and folder. It's possible that a file and a folder have the same path names.</p>
  
  <p>For the delete event I even can't use a dirty workarround with testing File.Exists(path) or Directory.Exists(path) because the file/folder is already deleted when the method is called.</p>
  
  <p>Maybe this object has the info I need but I didn't found it:</p>
  
  <pre><code>FileSystemEventArgs e
  </code></pre>
  
  <p>I only want to know if the changed item was a file or a folder.</p>