I have a dictionary of the type:
IDictionary> my_dictionary
bar class looks like this:
cl
Something like this?
my_dictionary .Where(p=> p.Value.Any(x => x.IsValid)) .ToDictionary( p=> p.Key, p=> p.Value.Where (x => x.IsValid));
That will only include items where at least one of the values IsValid.
IsValid