title: Searching an IEnumerable<dynamic>
body: <p>I have an enumerable as follows:</p>
  
  <pre><code> IEnumerable&lt;dynamic&gt; collection = new 
   {  
      column1 = "1", column2 = "name", column3= "somevalue" 
   }, 
   new 
   { 
      column1 = "2",   column2 = "name2", column3= "somevalue2" 
   },
   new 
   { 
      column1 = "3", column2 = "name3", column3= "somevalue3" 
   }
  </code></pre>
  
  <p>and so on....The number of columns in the dynamic types can also vary.No of columns can be more or less.</p>
  
  <p>Now if I want to search this IEnumerable collection for e.g. somevalue2, I need the following information
  Found in Row 2 (Assume column1 is always primary key) in Column "column2".
  Which would be the best way to translate this dynamic collection into a data structure (.NET List/Collection/Hashtable etc.) and the best way to query the information from the collection. The collection will at most will be a page of data (25 rows).
  Any code snippets and data structures to do a  super fast efficient way of searching the data would be appreciated. Assume the search term is "contains" match as opposed to a perfect match.</p>