standard template library

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
M

Mattias Sjögren

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
 
J

Jon Skeet [C# MVP]

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.
 

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