T
Tony Johansson
Hello!
Assume we have a delegate declaration like this
delegate double DoCalculate(double num);
I have read in some books that operators +, += ,- and -= can only be used
with multicast delegates, that is, delegates that return void.
I can use the delegate declared above with multicast using += but then only
the last added method will return.
So what is the reson for saying that multicast delegates can oly be used on
method that return void.
Is the reason that only the last added method will return the other methods
return values is gone.
//Tony
Assume we have a delegate declaration like this
delegate double DoCalculate(double num);
I have read in some books that operators +, += ,- and -= can only be used
with multicast delegates, that is, delegates that return void.
I can use the delegate declared above with multicast using += but then only
the last added method will return.
So what is the reson for saying that multicast delegates can oly be used on
method that return void.
Is the reason that only the last added method will return the other methods
return values is gone.
//Tony