You can use the ThenBy and ThenByDescending extension methods:
foobarList.OrderBy(x => x.Foo).ThenBy( x => x.Bar)
More Related Contents:
- Linq – Where().Where() is AND or OR?
- System.Linq.Expression.Compile error
- How to LINQ List and flatten it using SelectMany?
- Get All instead of FirstOrDefault
- Combining two expressions (Expression)
- Join/Where with LINQ and Lambda
- How to perform Join between multiple tables in LINQ lambda
- Sorting a list using Lambda/Linq to objects
- Mutating the expression tree of a predicate to target another type
- Can I specify my explicit type comparator inline?
- How to convert an expression tree to a partial SQL query?
- lambda expressions in immediate window for VS2015
- Is it Linq or Lambda?
- C# Pass Lambda Expression as Method Parameter
- Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type
- Cannot convert lambda expression to type ‘string’ because it is not a delegate type [duplicate]
- LINQ – Query syntax vs method chains & lambda [closed]
- Local variable and expression trees
- LINQ identity function
- How to merge a list of lists with same type of items to a single list of items?
- LINQ Expression to return Property value?
- How to check for nulls in a deep lambda expression? [duplicate]
- String.IsNullOrWhiteSpace in LINQ Expression
- convert this LINQ expression into Lambda
- Access the value of a member expression
- List complex sorting
- How do I dynamically create an Expression predicate?
- Linq – Top value from each group
- Linq query or Lambda expression?
- Convert DataTable to Generic List in C#