C# Data Structure Like Dictionary But Without A Value

后端 未结 4 1080
不思量自难忘°
不思量自难忘° 2021-02-04 23:05

Is there any data structure in C# that is like a dictionary but that only has a key and doesn\'t have a value. I basically want a list of integers that I can quickly lookup and

4条回答
  •  独厮守ぢ
    2021-02-04 23:44

    If you're not targeting .NET 3.5, Power Collections (open source) also provides a Set implementation.

提交回复
热议问题