I'm trying to determine which collection retain the order in which they are
added to the collection. Am I missing something in the MS documents? (like
an interface that defines this?)

Thanks,
Stan

Re: Which .NET 1.1 Collections retain the order they were entered? by Imran

Imran
Tue Sep 28 13:44:09 CDT 2004

Arraylist (unless you sort the elements)

Imran.

"dx" <designerx11@yahoo.com> wrote in message
news:10ljb7l8f1po5c2@corp.supernews.com...
>
> I'm trying to determine which collection retain the order in which they
are
> added to the collection. Am I missing something in the MS documents? (like
> an interface that defines this?)
>
> Thanks,
> Stan
>
>



Re: Which .NET 1.1 Collections retain the order they were entered? by dx

dx
Tue Sep 28 15:18:23 CDT 2004


And that is the only one? I need access by key/value and index.




"Imran Koradia" <nospam@microsoft.com> wrote in message
news:OIzhlqYpEHA.1152@TK2MSFTNGP11.phx.gbl...
> Arraylist (unless you sort the elements)
>
> Imran.
>
> "dx" <designerx11@yahoo.com> wrote in message
> news:10ljb7l8f1po5c2@corp.supernews.com...
>>
>> I'm trying to determine which collection retain the order in which they
> are
>> added to the collection. Am I missing something in the MS documents?
>> (like
>> an interface that defines this?)
>>
>> Thanks,
>> Stan
>>
>>
>
>



Re: Which .NET 1.1 Collections retain the order they were entered? by Imran

Imran
Tue Sep 28 14:48:22 CDT 2004

There's none in the BCL with those features. You can try one of these:
http://www.codeproject.com/csharp/hashlistarticle.asp
http://www.eggheadcafe.com/articles/20040424.asp

hope that helps..
Imran.

"dx" <designerx11@yahoo.com> wrote in message
news:10lje8fhi4soie1@corp.supernews.com...
>
> And that is the only one? I need access by key/value and index.
>
>
>
>
> "Imran Koradia" <nospam@microsoft.com> wrote in message
> news:OIzhlqYpEHA.1152@TK2MSFTNGP11.phx.gbl...
> > Arraylist (unless you sort the elements)
> >
> > Imran.
> >
> > "dx" <designerx11@yahoo.com> wrote in message
> > news:10ljb7l8f1po5c2@corp.supernews.com...
> >>
> >> I'm trying to determine which collection retain the order in which they
> > are
> >> added to the collection. Am I missing something in the MS documents?
> >> (like
> >> an interface that defines this?)
> >>
> >> Thanks,
> >> Stan
> >>
> >>
> >
> >
>
>



Re: Which .NET 1.1 Collections retain the order they were entered? by Jay

Jay
Tue Sep 28 17:58:28 CDT 2004

dx,
Have you tried System.Collections.Specialized.NameValueCollection or
NameObjectCollectionBase?

NameObjectCollectionBase allows you to create a type safe collection that
can be accessed by key or index.

There are a number of other collection classes in
System.Collections.Specialized & System.Collections that may do what you
need...

Hope this helps
Jay

"dx" <designerx11@yahoo.com> wrote in message
news:10lje8fhi4soie1@corp.supernews.com...
>
> And that is the only one? I need access by key/value and index.
>
>
>
>
> "Imran Koradia" <nospam@microsoft.com> wrote in message
> news:OIzhlqYpEHA.1152@TK2MSFTNGP11.phx.gbl...
>> Arraylist (unless you sort the elements)
>>
>> Imran.
>>
>> "dx" <designerx11@yahoo.com> wrote in message
>> news:10ljb7l8f1po5c2@corp.supernews.com...
>>>
>>> I'm trying to determine which collection retain the order in which they
>> are
>>> added to the collection. Am I missing something in the MS documents?
>>> (like
>>> an interface that defines this?)
>>>
>>> Thanks,
>>> Stan
>>>
>>>
>>
>>
>
>