|
Sorting and Searching Using C# Lists - C# sample code - developer Fusion
The support for lists in C# 2.0 makes sorting and searching very easy. This code snippet demonstrates how to create a list of Person objects (with name and age attributes), sort by name, sort by age and search based on age.
www.developerfusion.com |
|