Does anyone know if the new lazy initialization class (Lazy<T>
) is or will be supported in the compact framework? I've looked on MSDN, but the support stuff listed on the bottom is kind of cryptic when it comes to support for the compact framework vs. the full-blown .Net framework.
views:
79answers:
1
+3
A:
Not as of yet. As far as I Know, the latest release of the compact framework CLR is 2.0. The Lazy<T>
type wasn't introduced until 4.0 of the full CLR and hence the earliest version it could appear in the compact framework is also 4.0.
JaredPar
2010-03-15 15:37:05
Jason Down
2010-03-15 15:56:36
@Jason, I was attempting to refer to the associated CLR version. I updated my answer to be a bit clearer.
JaredPar
2010-03-15 16:09:01
Ah I see. Looking at Wikipedia there is the following quote (referencing the .Net framework, not the compact framework... but the same would apply to both):"As with .NET Framework 3.0, version 3.5 uses the CLR of version 2.0. Which means it's not a complete new framework, but just an extension of 2.0, and it can't run without it."
Jason Down
2010-03-15 17:07:16