Every delegate type implicitly provides the following predefined comparison operators, where D is any delegate type:
D
bool operator ==(D x, D y); bool operator !=(D x, D y);