Coming from a c++ background, there must surely be .NET equivalents of the STL map, list, vector etc. classes. I can't find them anywhere in the .net framework, can anyone help?
One thing you'll notice is that the C# collection classes don't have templates (they all hold values of type Object). Templates are coming out in the next release of .NET, and will be named "generics"
Until then, if you want strongly-typed collections, you'll have to derive from ICollectionBase or one of the existing concrete classes.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.