I have the following Objects:
class Car{
int price;
string color;
string size;
}
var list = new List<Car>();
list.Add...//add 20 cars
//I now want to select from this list any cars whose color and size matches that of any other car
list.Select(car => String.Join(car.color, car.size))
I want to select from this list a set of strings (color + size) which are present in more than one car in the list
Not sure where to continue with linq, as I've been banging my head into this for a bit