<p>I have a C# class the returns a List, using System.Collections.Generic Lists not F# List</p>

<p>I want to iterate though the list to find a object or not find it.  Here is how I would do it in C#.  How would I accomplish the similar thing in F#</p>

<pre><code>foreach (AperioCaseObj caseObj in CaseList)
{
     if (caseObj.CaseId == "")
     {    
     }
     else
     { 
     }
}
</code></pre>

See this example for iterating an integer generic list:
```
```
#light
open System.Collections.Generic

let genList = new List<int>()

genList.Add(1)
genList.Add(2)
genList.Add(3)

for x in genList do
  printf "%d" x
```
```