|
|
Warp wrote:
> What if you want to call the function (through the pointer) for different
> objects?
I can't think of a convenient way offhand to do this in C#. I think here
you'd likely fall back to a fixed-named function and then subclass objects
(or inherit from interfaces) to do that.
I never found the need to orthogonally specify a function and an object to
call it on, altho I imagine it might come up sometimes.
--
Darren New, San Diego CA, USA (PST)
"Ouch ouch ouch!"
"What's wrong? Noodles too hot?"
"No, I have Chopstick Tunnel Syndrome."
Post a reply to this message
|
|