关于List的一些操作

List<string>元素被单引号包裹:

string.Concat("'", string.Join("','", myLis.ToArray()), "'");

取list的前多少行:

(from a in keyWordList orderby a.Total descending select a).Take(30).ToList();

原文地址:https://www.cnblogs.com/jiaoyi1e/p/13355891.html