Delegates Syntax

PHOTO EMBED

Sat Oct 16 2021 15:56:41 GMT+0000 (Coordinated Universal Time)

Saved by @funcProgramming

[AccessModifier]: delegate ReturnType Delegatename([parameteers]);
	AccessModifier: accessibility- public, private, internal, or protected.
					If omitted defaults to internal
	delegate:  keyword – to initialize a delegate 
	ReturnType: the return data type that we assign to the delegate – int 
	DelegateName: the identity of the delegate – user defined name 
	Parameters: list of parameters that the method we assign
content_copyCOPY