I have a list in C#:
var list = new List(); list.AddRange(GetGreenCars()); list.AddRange(GetBigCars()); list.AddRange(
One choice is to add them and remove the repeated ones:
var list = new List(); list.AddRange(GetGreenCars()); list.AddRange(GetBigCars()); list.AddRange(GetSmallCars()); list = list.Distinct().ToList();