Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# order by descending on 2 values

var sortedTeams = nflTeams.OrderBy(t => t.Conference)
                    .ThenBy(t => t.Division)
                    .ThenBy(t => t.Team);
Code language: C# (cs)
Source by makolyte.com #
 
PREVIOUS NEXT
Tagged: #order #descending #values
ADD COMMENT
Topic
Name
7+9 =