How could I implement my own deferred execution mechanism in C#?
So for instance I have:
string x = DoFoo();
Is it possible to perf
One option is to use the Lazy class, formerly from the parallel extensions library now a part of the .Net Framework 4.0.
Lazy
It allows you to delay process data in a thread aware manner.