On Tue, 2009-04-28 at 14:25 +0200, Giacomo Tesio wrote:
> You are surely right, but till now lambda expressions could not modify
> values...
What do you mean by "modify values"? This certainly works:
int n = 1;
Action a = () => ++n;
a();
The a delegate, when invoked, will modify the value of n. Is this what
you mean?
- Jon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---