title: How to add a case-insensitive option to Array.IndexOf
body: <p>I have a string</p>
  
  <pre><code>string str="hello";
  </code></pre>
  
  <p>This is my array</p>
  
  <pre><code>string[] myarr = new string[] {"good","Hello", "this" , "new"};
  </code></pre>
  
  <p>I need to find the index of "hello" from the array (Without Using a Loop)</p>
  
  <p>So i have used</p>
  
  <pre><code>int index = Array.IndexOf(myarr, str);
  </code></pre>
  
  <p>This returns -1 ,But i am expecting result as 1.</p>
  
  <p>I have even tried with <code>StringComparer.OrdinalIgnoreCase</code> but no avail. </p>
  
  <p>Hope someone can help. Thanks.</p>