Question about anonymous delegates.

Sharp sharp1113 at hotmail.com
Wed Oct 3 06:53:10 PDT 2012


I found something what I don't understand.

Here is a simplifed code with comments:
http://dpaste.dzfl.pl/a914d11a

I creating anonymous delegates, whose function is to modify their 
parameter. Their parameters are different class references.
I pass these class references to anonymous delegates, but the 
delegates obtain only the last passed class reference.

Thanks for your answers.


More information about the Digitalmars-d-learn mailing list