Take the filter string as an example:
List<string> lsTest = new List<string>() { "aaa", "bbb", "ccc", "aaa" }; HashSet<string> hs = new HashSet<string>(lsTest);The filtered hs contains only the first three elements.
Take the filter string as an example:
List<string> lsTest = new List<string>() { "aaa", "bbb", "ccc", "aaa" }; HashSet<string> hs = new HashSet<string>(lsTest);The filtered hs contains only the first three elements.