📜  按长度降序排列 C# 代码示例

📅  最后修改于: 2022-03-11 14:48:47.091000             🧑  作者: Mango

代码示例1
string[] l_Data = { "1", "22", "333" };
l_Data = l_Data.OrderByDescending(x => x.Length).ToArray();
Console.WriteLine(l_Data);