|
-
Apr 13th, 2006, 01:48 PM
#1
Thread Starter
Hyperactive Member
[2.0] is sortedlist (in c#) same as Hash table (in vb.net)
Is SortedList (in C#) same as Hash table(in vb.net)?
thanks
sorry for posting second time.
-
Apr 13th, 2006, 06:03 PM
#2
Re: [2.0] is sortedlist (in c#) same as Hash table (in vb.net)
Both of these are common to all .NET languages.
-
Apr 13th, 2006, 08:03 PM
#3
Re: [2.0] is sortedlist (in c#) same as Hash table (in vb.net)
As David says, they are both members of the System.Collections namespace. They behave similarly but if you enumerate a SortedList the items will be returned ordered by key. The Hashtable cares nothing for order. You can get the keys and then get the values that correspond to those keys but no representation is made about what order the keys will be returned in.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|