NETCF V2 is not just a set of "high level classes/data
types/components/controls/etc", it's also a runtime which compiles IL into
native code and executes it.
It has to know how to handle IL produced by C# 2.0 features or it won't
work.
So the answer is no: you can not run C# 2.0 code without NETCF V2.
--
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"Ivan" <(E-Mail Removed)> wrote in message
news:64CE0F2D-DE47-4F4A-9DF9-(E-Mail Removed)...
> C# 2.0 is obviously a programning language, and the .NET Compact Framework
> 2.0 (CF 2.0) only defines high level classes/data
> types/components/controls/etc to be used with that programming language,
> correct?
>
> If so, are there only certain versions of C# that can be uses with CF 2.0
> ,
> or can all versions of C# be used to access CF 2.0?
>
> Furthermore, are there OS version restrictions when work with new versions
> of C#? For example... Can one compile and run C# 2.0 code on older OS
> versions such as Pocket PC 2002, as long as they don't use an unsupported
> CF
> version (i.e. CF 2.0)?
>
> thanks