Delegate properties must be compatible with the delegate types

delegate-properties-must-be-compatible-with-the-delegate-types

Delegate properties must be compatible with the delegate types they represent.

A. True

B. False

The question was asked in an interview.

This interesting question is from Handling Sensor Request topic in chapter Going Parallel, Handling Actuator and Sensor of IOT

The correct answer is A. True

The explanation: FromSensor is a property to which you can assign a method I.e., a C#delegate property. Delegate properties must be compatible with the delegate types they represent.