title: Resolving relative paths with wildcards in C#
body: <p>In C#, if I have a directory path and a relative file path with wildcard, e.g.</p>
  
  <p><code>"c:\foo\bar"</code> and <code>"..\blah\*.cpp"</code></p>
  
  <p>Is there a simple way to get the list of absolute file paths? e.g.</p>
  
  <p><code>{ "c:\foo\blah\a.cpp", "c:\foo\blah\b.cpp" }</code></p>
  
  <p><strong>Background</strong></p>
  
  <p>There is a source code tree, where any directory can contain a build definition file. This file uses relative paths with wildcards to specify a list of source files. The task is to generate a list of absolute paths of all source files for each one of these build definition files.</p>