Delegates vs Interfaces in C# 2.0?
Coupon Codes, Rebates & Free Shipping Codes
PCmover - $15 Off with Coupon Code S6ch2
muvee Reveal takes your photos, video and music
and automatically creates your own highly polished
personal muvee.
Visit the Nuance store today
Download a Free Trial of Acronis True Image 2009
Visit the CA US Store!
10% Off - 1 YR - Trend Micro Internet
Security 2009 - Coupon Code: TrendIS.
Get 10% off any purchase at MacSpeech.com
when you use the coupon code DICTATE10!
Get PowerDirector 7 Ultra from Cyberlink - optimized
for Intel Core i7
There is an explanation by Microsoft when to choose delegates n when to choose interfaces at the address below:
http://msdn2.microsoft.com/en-us/library...
I wonder why there should be such a comparison at all. Aren't these things two different concepts with different capabilities?
Delegates vs Interfaces in C# 2.0?irelandThey are compared because in both cases, the delegate or the interface reference can be used for any object without having a knowledge of the class. It means you can use a delegate for several methods of even several classes as long as they fit the signature of the delegate. The same explanation applies to interface.
Delegates vs Interfaces in C# 2.0?microsoft outlook internet explorer
Yep they are very different. A Delegate is place to store a fuction you will invoke later.
An Interface is a definition of some functions.
More Related Questions and Answers ...
The information post by website user , we not guarantee correctness.
