standard template library

  • Thread starter Thread starter Brian O'Haire
  • Start date Start date
B

Brian O'Haire

Does C# have the equivalent of C++ standard template library? If so, can
you point out where the documentation is located?

Thanks
Brian O'Haire
 
Brian,

There is nothing like the Standard Template Library in C#. While
Generics, which are like templates, are going to be introduced into C#,
there is nothing that is like that for C#. There might be third-parties
that are going to do this but there is nothing planned (as far as I know)
for release by MS.

Hope this helps.
 
Brian,
Does C# have the equivalent of C++ standard template library?

No, since C# doesn't support templates. But if you tell us what
functionaity you're looking for specificly, perhaps someone can point
you to something similar in the .NET base class library.



Mattias
 
Brian O'Haire said:
Does C# have the equivalent of C++ standard template library? If so, can
you point out where the documentation is located?

It doesn't have templates, although it will have generics in the next
version. However, the "standard library" part is just the whole .NET
base class library. I suspect a lot of what you're after is in the
System.Collections namespace, but if you want anything in particular
that you can't find, just ask.
 
Back
Top