SortedList in Visual Basic .NET

SortedList collection in VB.NET stored the key-value pairs collections which are sorted by the key
This is a simple code written in VB.NET to show how SortedList work. I have added the days of the week to the SortedList in random way.

Output

When you look at the output of the iteration you can see that key has been sorted

Leave a Reply

Your email address will not be published. Required fields are marked *