Samuel Ferree31,707 Points
Is join overly verbose in this instance?
It seems she uses Join, when a simple intersect would have worked just fine.
Since the point of linq is readability over performance anyways, could the teriary colors be tested thusly?
Seems more concise to me, so I'm wondering if there's a reason she used a join, which requres more parameters
Luis Marsano19,774 Points
Your more readable solution is actually efficient: LINQ defers evaluation, and
.Any() short-circuits evaluation as soon as the first element in the intersection is found.