Alternative of SortedDictionary in Silverlight
Hi,
As we know SortedDictionary is not not present in Silverlight so to find alternative of this i am using Dictionary as System.Collections.Generic.Dictionary(Of TKey, TValue).KeyCollection and for sorting i am using LINQ query.
see the full code below.
Dim sortedLists As New Dictionary(Of String, Object)
Dim query = From sortedList In sortedLists Order By sortedList.Key Ascending Select sortedList.Key, sortedList.Value
For Each que In query
'get the key value using que.Key
'get the value using que.Value
Next
Thanks....