purplesoup
asked on
Simple way to sort a collection class
I have a collection of countries, called CountryCollection, defined thus:
public class CountryCollection : KeyedCollection<string, Country>
A country has a CountryName and CountryCode, among other things.
What is the best/easiest way to sort the collection by CountryName in C# ?
public class CountryCollection : KeyedCollection<string, Country>
A country has a CountryName and CountryCode, among other things.
What is the best/easiest way to sort the collection by CountryName in C# ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.