We can use the HashSet constructor, which takes an IEnumerable<T> to construct a new instance of the HashSet<T> class containing distinct elements of the list.
確定! 回上一頁