Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
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

 
COPYRIGHT/DISCLAIMER | CONTACT US