title: Search for a value in List<Dictionary<string, object>>
body: <p>I have a <code>List&lt; Dictionary &lt; string, object >></code> variable as follows.</p>
  
  <pre><code>private static List&lt;Dictionary&lt;string, object&gt;&gt; testData = new List&lt;Dictionary&lt;string, object&gt;&gt;(100);
  
  // Just Sample data for understanding.
  for (int i = 0; i &lt; 100; i++)
  {
      var test = new Dictionary&lt;string, object&gt;
          {
              { "aaa", "aaa" + i % 4 },
              { "bbb", "bbb" + i % 4 },
              { "ccc", "ccc" + i % 4 },
              { "ddd", "ddd" + i % 4 },
              { "eee", "eee" + i % 4 },
              { "fff", "fff" + i % 4 },
              { "ggg", "ggg" + i % 4 },
              { "hhh", "hhh" + i % 4 },
              { "iii", "iii" + i % 4 }
          };
      testData.Add(test);
  }
  </code></pre>
  
  <p>I want to search for a list of key,value in the Dictionary and return the <code>List&lt; Dictionary &lt; string, object >></code> contains the searchPattern I passed.</p>
  
  <pre><code>Dictionary&lt;string, object&gt; searchPattern = new Dictionary&lt;string, object&gt;();
  searchPattern .Add("aaa", "aaa4");
  searchPattern .Add("eee", "eee2");
  searchPattern .Add("fff", "fff1");
  searchPattern .Add("ddd", "ddd3");
  
  
  public List&lt;Dictionary&lt;string, object&gt;&gt; SearchList(List&lt;Dictionary&lt;string, object&gt;&gt; testData, Dictionary&lt;string, object&gt; searchPattern)
  {
      List&lt;Dictionary&lt;string, object&gt;&gt; result;
  
      // Search the list.
  
      return result;
  }
  </code></pre>
  
  <p>Any other suggestions to search also appreciated.
  Many Thanks!!</p>