On Monday, 6 May 2013 at 09:11:00 UTC, Mehrdad wrote:
On Monday, 6 May 2013 at 09:06:55 UTC, Mehrdad wrote:lock (this) { _static = new ActualValue<T>(); }Oops I forgot the null check inside, don't forget that.
All that double-checking stuff is trying to avoid calling "lock" for entire Get function body. Your solution does exactly that. So it's no good.
