單項選擇題

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);

微信掃碼免費搜題