Alternative of SortedDictionary in Silverlight

Posted by Rajneesh Verma on ASP.net Weblogs See other posts from ASP.net Weblogs or by Rajneesh Verma
Published on Thu, 30 Jun 2011 06:25:00 GMT Indexed on 2011/06/30 8:23 UTC
Read the original article Hit count: 327

Hi, As we know SortedDictionary is not not present in Silverlightso 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...(read more)

© ASP.net Weblogs or respective owner

Related posts about ASP.NET

Related posts about Visual Studio 2010