-7
我收到了一個List<>
,裏面有5k個字。如何從C#中的列表返回頻繁/最高重複單詞?
var abc = new List<ClassName>();
我想從List<>
檢索頻繁/最高重複的字,並將其返回。思考?
public class Datum
{
public string name { get; set; }
public string id { get; set; }
public string pic_large { get; set; }
}
可以顯示'ClassName' – fubo
的類定義是什麼?你試試? – Moshezaurus
'GroupBy' by word,'OrderByDescending' by'Count',get'First' –