我正在使用.NET 3.5。爲什麼我仍然會得到:.NET List.Distinct
不包含 '獨特'
與此代碼的定義:
using System.Collections.Generic;
//.. . . . . code
List<string> Words = new List<string>();
// many strings added here . . .
Words = Words.Distinct().ToList();
+1 System.Core程序 – 2009-07-16 16:53:27
是否有將其命名理由像那樣? – 2009-07-16 16:55:30