title: good way to keep file differenciation in memory
body: <p>I have 12 media files with some short music. These files are some how distinguish, as having all (I mean one file content from beginning to end) same content or different contents.</p>
  
  <p>File names are:</p>
  
  <ol>
  <li>a1_same.wav  // from beginning to end it contains the same content</li>
  <li>a2_diff.wav  // from beginning to end it contains the different content</li>
  <li>a3_diff.wav</li>
  <li>a4_diff.wav</li>
  <li>a5_same.wav
  ...... 
  till 12.</li>
  </ol>
  
  <p>Now I read all these files and iterate through the file name to distinguish
  if the contents are same or diff</p>
  
  <pre><code>// just a pseudo code - syntax may be wrong
  foreach(var file in abcCollection)
  {
      if(file.FilePath.Contains("Same"))
      {
          // then same
      }
      else
      {
          // different
      }
  }
  </code></pre>
  
  <p>But I am not satisfied with this kind of check with (checking with file name string for same or different).</p>
  
  <p>Is there any other way to do the same? I mean keeping some say primary key in memory or maintaining some in memory dictionary or list etc...honestly I do not have any clue :-(</p>
  
  <p>If you have any idea then please share.</p>