Standard Library in C# - std

  • Thread starter Thread starter Nuno Esculcas
  • Start date Start date
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
 
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#.
 
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,
 
Back
Top