P
Phil
Hi,
I'm kind of new to vb.net and need to know how to sort a 'list' of
structure.
For example:
Structure PERSON_STRUCTURE
Dim sFirstName as String
Dim sLastName as String
Dim dDateOfBirth as Date
Dim iAge as Integer
End Structure
Dim list_PEOPLE as new list (of PERSON_STRUCTURE).
--------------
Now I add a whole bunch of people to the list.
How can I sort the 'list_PEOPLE' by: First Name, or Last Name, or
DateOfBirth or Age?
(Most of the sample stuff on the internet only show how to sort a list
(of String).
Thank you.
I'm kind of new to vb.net and need to know how to sort a 'list' of
structure.
For example:
Structure PERSON_STRUCTURE
Dim sFirstName as String
Dim sLastName as String
Dim dDateOfBirth as Date
Dim iAge as Integer
End Structure
Dim list_PEOPLE as new list (of PERSON_STRUCTURE).
--------------
Now I add a whole bunch of people to the list.
How can I sort the 'list_PEOPLE' by: First Name, or Last Name, or
DateOfBirth or Age?
(Most of the sample stuff on the internet only show how to sort a list
(of String).
Thank you.