Determine List.IndexOf ignoring case
<p>Is there a way to get the index of a item within a List with case insensitive search?</p>

<pre><code>List&lt;string&gt; sl = new List&lt;string&gt;() { "a","b","c"};
int result = sl.IndexOf("B"); // should be 1 instead of -1
</code></pre>