title: If Any *.File Exists, Delete All *.File
body: <p>I'm using visual c# in a winforms application. I want to check and see if <code>*.plr</code> exists, delete <em>all</em> files with the extension <code>.plr</code>. I am confused because the following code doesn't work for some reason.</p>
  
  <pre><code>if (File.Exists("*.plr"))
  {
      File.Delete("*.plr");
  }
  </code></pre>