试题详情
- 单项选择题You need to write a multicast delegate that accepts a DateTime argument.Which code segment should you use?()
A、public delegate int PowerDeviceOn(bool result,DateTime autoPowerOff);
B、public delegate bool PowerDeviceOn(object sender,EventArgs autoPowerOff);
C、public delegate void PowerDeviceOn(DateTime autoPowerOff);
D、public delegate bool PowerDeviceOn(DateTime autoPowerOff);
- C
关注下方微信公众号,在线模考后查看
热门试题