Why doesn't ConcurrentBag implement ICollection?

后端 未结 0 476
长发绾君心
长发绾君心 2021-02-11 17:08

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<>,

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