随笔分类 -  C#

Queue Peek Dequeue InvalidOperationException 异常
摘要:C# Queue 队列 使用Peek Dequeue 方法是:如果当时队列为空,这会抛出异常,需要先判断Count属性>0在使用这两个方法: Exceptions InvalidOperationException The Queue is empty. Queue.Dequeue Method ( 阅读全文

posted @ 2022-06-17 15:39 ZhYQ_note 阅读(138) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示