C# Is String in Array
<p>What would be the best way to look in a string[] to see if it contains a element. This was my first shot at it. But perhaps there is something that I am overlooking. The arraysize wil be no larger than 200 elements</p>

<pre><code> bool isStringInArray(string[] strArray, string key)
      {
        for (int i = 0; i &lt;= strArray.Length - 1; i++)
            if (strArray[i].ToString() == key)
                return true;
        return false;
    }
</code></pre>
