Why doesn't it handle all conditions?
I am reading the answer to this question: ( Is there a better way to call LINQ Any + NOT All? ). Why doesn't it handle all conditions? Sorry for posting a new question, but I don't have enough reputation to add a comment to the original question.
var anyButNotAll = mySequence
.Select(item => item.SomeStatus == SomeConst)
.Distinct()
.Take(2)
.Count() == 2;
+3
source to share