Friday, September 10th, 2010
OrderBy

Sort on multiple criteria with orderby using LINQ C#

using System; using System.Linq; class Account { public string FirstName { get; private set; } public string LastName { get; private set; ...

More OrderBy

Use orderby to retrieve the values in an int array in ascending order in LINQ

using System; using System.Linq; class OrderbyDemo { static void Main() { int[] nums ...

OrderBy using CurrentCultureIgnoreCase in C# LINQ

var query14 = ProductList.Where(p = > p.Category.CategoryName == “Beverages”) ...

ThenBy and ThenByDescending example in LINQ

var query13 = ProductList.OrderBy(p = > p.CategoryID) ...

eXTReMe Tracker