List根据某个字段去除重复项

var distinct = contents.Where((x, i) => contents.FindIndex(z => z.ic.Id == x.ic.Id) == i).ToList();