多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You work as an application developer at Certkiller .com. You are developing an application that makes use of a Queue class object named MyQueue. This Queue class object will be used to store messages sent by the user during application run time. The application that you are developing provides an interface for administrators and an interface for users to create message reports.You want to ensure that all user messages stored in the MyQueue object are removed when an administrator selects the reset option.What should you do?()

  • A、 Use the Enqueue method of the MyQueue object.
  • B、 Use the Clear method of the MyQueue object.
  • C、 Use the Dequeue method of the MyQueue object.
  • D、 Use the TrimToSize method of the MyQueue object.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题