title: Find array index by ignorecase
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8935161/how-to-add-a-case-insensitive-option-to-array-indexof">How to add a case-insensitive option to Array.IndexOf</a>  </p>
  </blockquote>
  
  
  
  <pre><code>int index1 = Array.IndexOf(myKeys, "foot");
  </code></pre>
  
  <p>Example I have <code>FOOT</code> in my array list, but it will return value of <code>index1 = -1</code>.</p>
  
  <p>How can I find index of <code>foot</code> by ignoring the case?</p>