Message from discussion
When use a delegate?
From: "Scott M." <s...@nospam.nospam>
References: <eeT9P31mIHA.4208@TK2MSFTNGP02.phx.gbl>
Subject: Re: When use a delegate?
Date: Thu, 10 Apr 2008 19:22:18 -0400
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Message-ID: <eEZLlF2mIHA.5084@TK2MSFTNGP04.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 69.37.4.150.adsl.snet.net 69.37.4.150
Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!msrtrans!TK2MSFTFEEDS02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
Sometimes you don't know what function you're going to want to call, only
its signature. Delegates allow you that flexibility.
"Cirene" <cir...@nowhere.com> wrote in message
news:eeT9P31mIHA.4208@TK2MSFTNGP02.phx.gbl...
> When would you choose to use a delegate rather than calling a function
> directly? What's the advantages? Thanks...
>