C#C
C#4y ago
Natty

Ez LINQ Noob Question

How can I make this return a true/false? Is there a way to clean this up without adding a .Count() > 0 call?
bool onlyContainsQuarters = allDates.Where(x => quarterEndMonths.Any(prefix => x.StartsWith(prefix)));
Was this page helpful?