Using HashSet in C# 2.0, compatible with 3.5

后端 未结 6 1825
鱼传尺愫
鱼传尺愫 2020-11-30 10:17

I really want to use hashsets in my program. Using a dictionary feels ugly. I\'ll probably start using VS2008 with .Net 3.5 some day, so my ideal would be that even though

6条回答
  •  春和景丽
    2020-11-30 10:31

    I think PowerCollections library should fit your needs. It's an open source library that contains several collection classes that were missing in .NET, including Set, Bag, MultiDictionary etc. It runs on .NET 2.0. I've been using it for couple of years now and I'm very pleased with it.

提交回复
热议问题