title: How to set filter for FileSystemWatcher for multiple file types?
body: <p>Everywhere I find these two lines of code used to set filter for file system watcher in samples provided..</p>
  
  <pre><code>FileSystemWatcher watcher = new FileSystemWatcher();
  watcher.Filter = "*.txt";
  //or
  watcher.Filter = "*.*";
  </code></pre>
  
  <p>But I want my watcher to monitor more file types, but not all. How can I achieve this:</p>
  
  <pre><code>//watcher.Filter = "*.txt" | "*.doc" | "*.docx" | "*.xls" | "*.xlsx";
  </code></pre>
  
  <p>I tried these:</p>
  
  <pre><code> watcher.Filter = "*.txt|*.doc|*.docx|*.xls|*.xlsx"; 
   // and
   watcher.Filter = "*.txt;*.doc;*.docx;*.xls;*.xlsx*";
  </code></pre>
  
  <p>Both did not work. This is just basics but I miss it. Thanks..</p>