Co to jest najlepszy sposób robienia tego.Płytka kopia hashsetu
HashSet<reference_type> set2 = new HashSet<reference_type>();
Przejrzyj zestaw za pomocą foreach w ten sposób?
foreach (var n in set)
set2.Add(n);
Lub użyć czegoś takiego jak unisono w ten sposób?
chunk2 = chunk.UnionWith(chunk); // all the elements