reference: http://www.codeproject.com/KB/cs/DelegatesOMy.aspx

Example:

List<Employee> employeeList = GetEmployeeListSomeWhere();

employeeList.Sort((x,y)=>Compare<string>.Default.Compare(x.Name, y.Name));

3 Responses to “c# List sorting”

  1. ilubifohyjuxok says:

    ilubifohyjuxok…

    Christopher Anderson

  2. okuvoxynaw says:

    okuvoxynaw…

    Candy Okutsu

  3. ocyraqehufato says:

    ocyraqehufato…

    Laura Cayouette

Leave a Reply

You must be logged in to post a comment.