You need to write a multicast delegate that accepts a DateTime argument.Which code segment should you use?()
A、A.public delegate int PowerDeviceOn(bool result,DateTime autoPowerOff);
B、B.public delegate bool PowerDeviceOn(object sender,EventArgs autoPowerOff);
C、C.public delegate void PowerDeviceOn(DateTime autoPowerOff);
D、D.public delegate bool PowerDeviceOn(DateTime autoPowerOff);