I am analyzing a program in the Exceptions section, but i don't understand what this piece of code do:
if (obj.ValidationExceptions.Exists(
delegate(Exceptions.ValidationException x) {
return x.Type == Exceptions.ValidationExceptionType.Error;
}))
return false;
Can anyone can put this code in other simple other way, avoiding using anonymous methods?