Shripal from India -
Feb 13 2010, 8:59 PMReport Spam
Well yeah, got me confused too!
But I think he's right answer is A not D..
(1st parameter is used as the return type)
Justin from Ireland -
Oct 12 2009, 9:27 PMReport Spam
I have a question about the multicast delegate question (that accepts a datetime argument and returns a bool). Your answer says its A;
public delegate int PowerDeviceOn(bool, DateTime). Is this correct?
Should it not be answer D;
public delegate bool PowerDeviceOn(DateTime).
Raheel tells me that it should be A but I'm still not sure. Could someone tell me a good site to explain why. I thought all delegates objects had to have the same signature as the type so I'm confused???
But I think he's right answer is A not D..
(1st parameter is used as the return type)
public delegate int PowerDeviceOn(bool, DateTime). Is this correct?
Should it not be answer D;
public delegate bool PowerDeviceOn(DateTime).
Raheel tells me that it should be A but I'm still not sure. Could someone tell me a good site to explain why. I thought all delegates objects had to have the same signature as the type so I'm confused???