Getting a specific item value in a ListBox
<p>I'm trying to get to specific item in a ListBox (asp.net, C#)
and check if it's null or not:</p>

<pre><code>if (ListBox.Items[0] == null )
{
     if (HowMany.Text == arrOfWords[0])
     {
          ListBox.Items.Add(arrOfWords[0]);
          ErrorMessege.Text = "Good!";
     }                    
}
</code></pre>

<p>it's returning that :  Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index</p>

<p>Why is that?
Thanks!</p>
