Current location - Quotes Website - Signature design - The difference between c#prod method and ox method
The difference between c#prod method and ox method
Delegate is a type that saves method references in objects, and it is also a type-safe function pointer.

One way to understand delegates is to think of delegates as naming method signatures.

The definition of delegate is similar to the definition of method, but there is no method body, and the keyword delegate should be added before the defined delegate name.