/// <summary> /// Returns whether or not this Item set contains another /// </summary> /// <param name="itemset">Item set we're testing</param> /// <returns>A boolean indicating if item set is a subset</returns> public bool Contains(Itemset itemset) { return(this.Intersect(itemset).Count() == itemset.Count); }