Upload
ankit-kashyap
View
457
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Our C# basics training slides, which we used in out recent training batch
Citation preview
-Whats your number? Huh?-How to ring the phone?-How to send voice data?
Previous Day Assignment
C# tips and tricks
string & String
Ghost MethodsExtension Methods
Object Browser Icons
http://msdn.microsoft.com/en-us/library/y47ychfe.aspx
Few Visual Studio shortcuts
DelegatesAnd Events
Obama is also using them??
Delegates
The Talking
Event
Best way to curb the fear??
• It’s a class, yes, IT’S A CLASS (internally)
• Declare like method, Use like class!
• Derived from Delegate/MulticastDelegate Classes
• But try to derive…nope!!!!! That’s implicitly done by
compiler
• Events are just wrapper on delegates
Delegate-Puran
Itne time me itna hi milega! Bbye!!