c# Adding a Remove(int index) method to the .NET Queue class

前端 未结 12 1531
攒了一身酷
攒了一身酷 2021-01-07 17:14

I would like to use the generic queue class as described in the .NET framework (3.5) but I will need a Remove(int index) method to remove items from the queue. Can I achieve

12条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-07 17:40

    The queue class is so difficult to understand. Use a generic list instead.

提交回复
热议问题