You need to write a code segment that will create a common language runtime (CLR) unit of isolation within an application.Which code segment should you use?()
A.A B.B C.C D.D
A. B. C. D.
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);