order by length descending C# code example
Example: order by length descending C#
string[] l_Data = { "1", "22", "333" };
l_Data = l_Data.OrderByDescending(x => x.Length).ToArray();
Console.WriteLine(l_Data);
string[] l_Data = { "1", "22", "333" };
l_Data = l_Data.OrderByDescending(x => x.Length).ToArray();
Console.WriteLine(l_Data);