Archive for March, 2010

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));