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
答案解析:有
![](/editor/images/201705/qrcode_for_gh_573e2a458573_258.jpg)
微信扫一扫手机做题