title: File count starting with
body: <p>I need to generate a message that counts the number of files that starts with a specified name.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>Private void button1_click (...)
  {
        // this is the code to count the number of files that start with a specified string
        String Path = "..."
        int fCount = Directory.GetFiles (path,"InsertImage", SearchOption.AllDirectories).Length;
  
        messageBox.Show("fCount");
  }
  </code></pre>
  
  <p>It is not working for my purpose. Any suggestions?</p>