Using Delegates (C#)
Full Name:
Using Delegates (C#)
Short Name:
Using Delegates (C#)
Type of Entity:
C#
Abstract:
A delegate is a type that safely encapsulates a method, similar to a function pointer in C and C++. Unlike C function pointers, delegates are object-oriented, type safe, and secure. The type of a delegate is defined by the name of the delegate. The following example declares a delegate named Del that can encapsulate a method that takes a string as an argument and returns void:
MSDN Source URL:
http://msdn2.microsoft.com/ms173172.aspx