Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

order by length descending C#

string[] l_Data = { "1", "22", "333" };
l_Data = l_Data.OrderByDescending(x => x.Length).ToArray();
Console.WriteLine(l_Data);
 
PREVIOUS NEXT
Tagged: #order #length #descending
ADD COMMENT
Topic
Name
3+8 =