public void AddEdges(IEnumerable <Vertex> to) { var uniqueVertices = Edges.Except(to, new VertexComparer()); Edges.ToList().AddRange(uniqueVertices); }