When would you use delegates in C#?(blog.decayingcode.com)
submitted by
arch4ngel(585) 3 years, 3 months ago
This is a valid question. Before C# 3.0, you could use delegates or declare full methods to bind to events. Now we can declare event directly through lambda. Delegates is a keyword that can be used to declare inline methods. This inline code can be stored inside variables and then executed when necessary. This is exactly what happens when you are binding methods to events. read more...
|category: C#
|Views: 17
tags:
Delegate Lambda C# another
Everyones tags:
Your Tags: