list of class objects (birds). each bird has a color. how do I most efficiently get a set of all colors?
<p>I have a list of class objects, say birds. Each bird has a color. I want to easily get a set of bird colors from this list of birds. What is the quickest, most efficient way to do this?</p>
