Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: RosieCotton

Index is the order an item appears in the list: the first item, second item, third item, etcetera. Key is some value the user sets which is unique across the list and identifies the item in some way. Like a user ID or bar code. The confusion is that in C#, sorted lists have keys. But you can't directly say "SortedList.GetByKey". You have to say SortedList.GetByIndex(IndexOfKey). Which is confusing I admit but....


5,051 posted on 02/02/2007 5:37:45 AM PST by JenB
[ Post Reply | Private Reply | To 5034 | View Replies ]


To: All
Good Morning!


5,052 posted on 02/02/2007 6:16:23 AM PST by Overtaxed (C15H24O)
[ Post Reply | Private Reply | To 5051 | View Replies ]

To: JenB
I have no idea what that means, so...

...here's a picture of a dog with a seashell on its head.

5,121 posted on 02/02/2007 4:20:11 PM PST by ExGeeEye (Thanks, non-R voters, for the next two years. Hope it's only two.)
[ Post Reply | Private Reply | To 5051 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson