¡@

Home 

c# Programming Glossary: actioncache1

What is the lifetime of a delegate created by a lambda in C#?

http://stackoverflow.com/questions/6280656/what-is-the-lifetime-of-a-delegate-created-by-a-lambda-in-c

static void MyAction1 static void MyAction2 static Action ActionCache1 null static Action ActionCache2 null ... if ActionCache1 null.. ActionCache1 null static Action ActionCache2 null ... if ActionCache1 null ActionCache1 new Action MyAction1 Action a1 ActionCache1.. static Action ActionCache2 null ... if ActionCache1 null ActionCache1 new Action MyAction1 Action a1 ActionCache1 if ActionCache2..