Mike Raiford wrote:
> Darren New wrote:
>
>>> // This will call DoStuff (In C# pfunc would be called a "delegate")
>>
>> No it wouldn't.
>>
>
> Aside from multicast delegates, Doesn't a delegate act similar to a
> function pointer?
Only if you disregard that they're multicast and object-oriented and can
be targets of events. I'll grant you that "delegate" is as close as C#
has to the concept of "pointer to function". :)
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|