Array.Contains ignore nonspacing combining characters, such as diacritics
<pre><code>string[] myArray= { "replay", "answer" };
if (myArray.Contains("rểplay")) {
//...
}
</code></pre>

<p>This function will return false since it try to check diacritics word "rểplay" instead of "replay". How can I ignore nonspacing combining characters, such as diacritics and return true?</p>

<p>And how can it work for vice versa like below?</p>

<pre><code>string[] myArray= { "rểplay", "answer" };
if (myArray.Contains("replay")) {
//...
}
</code></pre>

<p>And how to applied in this function also?</p>

<pre><code>var ix = Array.FindIndex(myKeys, p =&gt; p.Equals(wordIn, StringComparison.CurrentCultureIgnoreCase));
wordOut = myKeys[ix];
return true;
</code></pre>
