您需要写一个接收日期参数的多播委托,您应该使用哪一个代码片段() //委托就是一个方法,题目没有返回值。A.p...
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);