What is the collection class correspondent to std::set?

H

Hyun-jik Bae

What is the collection class correspondent to std::set? I know Dictionary<>
roles as std::map...

Please reply. Thanks in advance.

Hyun-jik Bae
 
J

Jon Skeet [C# MVP]

Hyun-jik Bae said:
What is the collection class correspondent to std::set? I know Dictionary<>
roles as std::map...

There isn't one, unfortunately. You can use a dictionary which maps
everything to the same value (or to itself), however.
 

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