title: Find an item in a list by LINQ
body: <p>Here I have a simple example to find an item in a list of strings. Normally I use a <code>for</code> loop or anonymous delegate to do it like this:</p>
  <pre><code>int GetItemIndex(string search)
  {
     int found = -1;
     if ( _list != null )
     {
       foreach (string item in _list) // _list is an instance of List&lt;string&gt;
       {
          found++;
          if ( string.Equals(search, item) )
          {
             break;
          }
        }
        /* Use an anonymous delegate
        string foundItem = _list.Find( delegate(string item) {
           found++;
           return string.Equals(search, item);
        });
        */
     }
     return found;
  }
  </code></pre>
  <p>LINQ is new for me. Can I use LINQ to find an item in the list? If it is possible, how?</p>