title: Get Index of a Dictionary from an array of Dictionaries for a given Key and Value
body: <p>I have a <code>Dictionary&lt;string, string&gt;[]</code> array, where each element is a <code>Dictionary&lt;string, string&gt;</code> with the same Keys and different Values.</p>
  <p>How to get the index of the object for a given Key and Value?</p>
  <p>For example, if the dictionary array has two elements as:</p>
  <pre><code>    [0]: {'Key1', 'ValueA}
           {'Key2', 'ValueB}
      [1]: {'Key1', 'ValueC}
           {'Key2', 'ValueD}
  </code></pre>
  <p>How to get the index where 'Key2' = 'ValueD'? So, Index result = 1.</p>