Add list of objects to List<List<Objects>> if not contain
<p>I have <code>List&lt;List&lt;Vertex&gt;&gt;</code> , <code>Vertex</code> has a property <code>id</code>. I need to add <code>List&lt;Vertex&gt;&gt;</code> into this list, but not duplicate lists.  </p>

<pre><code> public void AddComponent(List&lt;Vertex&gt; list)
{
    List&lt;List&lt;Vertex&gt;&gt; components = new List&lt;List&lt;Vertex&gt;&gt;;

    //I need something like
      if (!components.Contain(list)) components.Add(list);
}
</code></pre>
