Why doesn't .Net have a Set data structure?

后端 未结 9 1723
太阳男子
太阳男子 2021-01-19 00:41

One of my biggest issues dealing with a move from Java to .Net is the fact that there isn\'t a Set interface in .Net. I know there are libraries I could go and download but

9条回答
  •  悲哀的现实
    2021-01-19 01:33

    I also moved from Java to .Net recently (due to professional employment) and I must admit that my initial problems have also been on collections.
    In the current .Net version (3.5 and speaking about C#) you should orientate yourself on

    • ICollection
    • IList
    • List
    • IDictionary
    • IEnumerable

    These are the most commonly used (hope I didn't miss one)

提交回复
热议问题