试题详情
单项选择题您需要编写可接受日期时间参数并返回一个布尔值,多路广播的委托。您应该使用哪个代码段?()

A、public delegate int PowerDeviceOn(bool, DateTime);

B、public delegate bool PowerDeviceOn(Object, EventArgs);

C、public delegate void PowerDeviceOn(DateTime);

D、public delegate bool PowerDeviceOn(DateTime);

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题