title: IN c# how to get file names starting with a prefix from resource folder
body: <p>how to access a text file based on its prefix </p>
  
  <pre><code>var str = GrvGeneral.Properties.Resources.ResourceManager.GetString(configFile + "_Nlog_Config");
  var str1  = GrvGeneral.Properties.Resources.ResourceManager.GetObject(configFile + "_Nlog_Config");
  </code></pre>
  
  <p>where the configfile is the prefix of the resourcefile A &amp; B . </p>
  
  <p>Based on the configfile contents (prefix) the resource file A &amp; B has to be accessed . </p>