Why doesn't ConcurrentBag implement ICollection?

后端 未结 0 1684
南旧
南旧 2021-02-11 17:29

I have a method which takes an IList<> and adds stuff to it. I would like to pass it a ConcurrentBag in some cases, but it doesn\'t implement IList<> or ICollection<>,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题