Here is my code

```
public void DoSomethin(IEnumerable<string> values)
{
    Dictionary<string, string> d = GetDictionary();

    foreach(var value in values)
    {
         if(d.Contains(value))
         {
              //Do something
         }else{
              // What now ?
         }
    }
}

```

The value collection is comming from a web interface,so there could be some invalid data.

My question is, what should be done, if the dictionary doesn't contain the current value ?

Should be thrown an exception or just skipped the current loop ?

This code is generating rows for a grid..