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));
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));
You must be logged in to post a comment.
April 7th, 2010 at 1:39 pm
ilubifohyjuxok…
Christopher Anderson …
April 20th, 2010 at 10:22 am
okuvoxynaw…
Candy Okutsu …
May 13th, 2010 at 7:53 am
ocyraqehufato…
Laura Cayouette …