Hi
if I have a foreach loop over a list, do I get a NullReferenceException if
one of the objects in the list is null?
For example, say I have a list "persons" of IPerson objects, but one of the
objects in the list is actually null.
foreach (IPerson person in persons)
{
// do something with person...
}
Thanks,
Peter