Here\'s what I\'m trying to do. I\'m querying an XML file using LINQ to XML, which gives me an IEnumerable> object, where T is my \"Village\" class, filled
> object, where T is my \"Village\" class, filled
Or change the line
return alliances.Distinct(new AllianceComparer());
to
return alliances.Select(v => v.AllianceName).Distinct();