assume we have a lambda expression like
var thread= new Thread(() =>
{
Foo1();
Foo2(() =>
{
Foo3();
DoSomething();
}
);
});
the question is when DoSomething()
evaluated? on thread
creation or on calling thread.Start()
?