Delegate the Work
page 1 of 4
Published: 03 Nov 2006
Abstract
Using delegates can add a lot of flexibility to your applications. But hearing this is much different than experiencing the reality of it. In this article we’ll explore how delegates along with events provide loose coupling and make your applications less brittle.
by Stephen Rylander
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 22414/ 31
Article Contents:

Introduction

A staple of any good management class is pounding into young executives’ heads that they should delegate when possible.  These gurus of commerce do not say to always delegate because it’s obvious that expert knowledge should sometimes directly handle a task or project.  But the premise is solid.  And the premise applies to our world of software.

The .NET Framework provides us with a staid and true mechanism for creating delegates and wiring up events.  It’s a powerful platform provided for free to us, so taking advantage of it is something a developer should aspire to do without much hesitation.  Events are brothers-in-arms with delegates.  They work together so smoothly that you might not even realize that events in the Framework and Windows Forms applications are actually using delegates behind the scenes.


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-23 2:24:21 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search