Remove duplicate lists from a parent list using hashset in c# -
i have parent list contains several child lists . , these inner lists contain column objects. list<list<column>> listofallcolumns; public class column { public string sectionname; public string stirruptype; public int stirrupsize; public double stirrupspacing; } let's child lists contain different column objects this: list1 = {c1, c1, c2} list2 = {c1, c2, c1} list3 = {c2, c3} list4 = {c1,c1, c2} and parent list contains these lists : listofallcolumns = {list1, list2, list3, list4} now want method removes duplicate lists listofallcolumns list. example, list above , remove list4. list1: c1,c1,c2 list2: c1,c2,c1 list3: c2,c3 list4: c1,c1,c2 (it equal list1 duplicate) i know can done using linq , distinct method want using hashset . by way order important, example {c1, c2, c1} different {c2,c1,c1}. update 1: here tricky part. order important inside child lists not important in parent list. list1:{c1, c2} , list2: {c2,c1}...