title: C# open file dialog; specify name and extension?
body: <p>In C#, you can specify a filter on an <code>OpenFileDialog</code> object. </p>
  
  <pre><code>var dlg = new OpenFileDialog();
  dlg.DefaultExt = ".xml";
  dlg.Filter = "XML Files|*.xml";
  </code></pre>
  
  <p>Is there a way to automatically select files by name? For example, if I navigated to a folder of xml files, is there any filtering option that would automatically target "myxml.xml"?</p>