C
Charles Law
I have been using the Microsoft.VisualBasic.Collection as the basis of a
generic list class because it is the only list class that allows items to be
added with and without a key and hence to be retrieved by both key and index
(correct me if I'm wrong).
When I wanted to serialize the list to XML it was not too tricky to achieve
using the XMLSerializer class. However, I now want to be able to sort the
list.
Can anyone suggest how to do this? I have tried replacing the base list with
SortedList, but I can't serialize it with XMLSerializer.
TIA
Charles
generic list class because it is the only list class that allows items to be
added with and without a key and hence to be retrieved by both key and index
(correct me if I'm wrong).
When I wanted to serialize the list to XML it was not too tricky to achieve
using the XMLSerializer class. However, I now want to be able to sort the
list.
Can anyone suggest how to do this? I have tried replacing the base list with
SortedList, but I can't serialize it with XMLSerializer.
TIA
Charles