System.Collections.Queue vs. System.Collections.Generics.Queue

H

Helium

Is there any need for "System.Collections.Queue" any more? OK, .Net
made the mistake to start without generics, but that is fixed now.

Languages without support for generics could use
"System.Collections.Generics.Queue<Object>" instead of
"System.Collections.Queue". So everytime those languages use a
generic, they just use them with <object>.

I don't think having two different sets of collections is a good idea.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top