Standard Library in C# - std

N

Nuno Esculcas

Hello,

I use a lot the std (standard library) in VC++6 (map, set, vector, etc)
now i want to use the same functionality in C#. Where is the std? it
disapears? or still exists? (if exists how it's used?)

If it disapears, is there any thing that came to replace? with the same
performance?

Thanks

Nuno
 
J

Jon Skeet

Nuno Esculcas said:
I use a lot the std (standard library) in VC++6 (map, set, vector, etc)
now i want to use the same functionality in C#. Where is the std? it
disapears? or still exists? (if exists how it's used?)

If it disapears, is there any thing that came to replace? with the same
performance?

It's the whole .NET framework library. For instance, you use
System.Collections.ArrayList instead of vector,
System.Collections.Hashtable instead of map, etc. Currently you don't
have anything like templates, but generics is coming in the next
version of C#.
 
I

Ignacio Machin

Hi nuno,

You don't need to use it , and I think that it cannot be used anyway, the
framework provide a large number of classes you can use.

In regards of the performance, I think that the stdlib should be at least a
little faster.

Cheers,
 

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