Set Operations with C# Generics (jachman.wordpress.com)

published 2 years, 3 months ago, submitted by JachmanJachman(520) 2 years, 3 months ago

C# Generics are powerful, but there are not many generic classes beyond List and Dictionary. Especially for Set Operations Generics are missing. That’s whay I created a small class for Set Operations called Set that contains the basic Set Operations, like Union, Intersect and Difference.

1 comment | category: | Views: 40

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

posted by w3stfa11w3stfa11(625) 2 years, 3 months ago

Nice article. From the comments.

NGenerics library has this.

The free PowerCollections library also has a set.

.NET 3.5 has a generic HashSet collection.

information Login or create an account to comment on this story