Set Types

  • Thread starter Thread starter Roger
  • Start date Start date
R

Roger

Is there no set type in .NET?

Examples of usage and operators:

OddSet = [1, 3, 5]
EvenSet = [2, 4, 6]

if 1 in OddSet then //test for membership in set

Set Union, Intersection, etc

Thanks,
Roger
 
Is there no set type in .NET?

Not in the BCL, no. But there are third party implementations, I bet
you can find some with Google.



Mattias
 

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

Back
Top