为什么以下代码不会对我的列表进行排序?
List<string> lst = new List<string>() { "bac", "abc", "cab" }; lst.OrderBy(p => p.Substring(0));
c# linq
c# ×1
linq ×1