Re: C# 2.0 vs. .NET Compact Framework 2.0
- From: "<ctacke/>" <ctacke[@]opennetcf[dot]com>
- Date: Mon, 26 Jun 2006 11:50:20 -0400
I *think* he's trying to ask if he can use the new language features of C#
(generics and the like) in a CF 1.0 project. I would suspect that if you
build with Studio 05 that you can, but I've not tested that. Of course
testing it would be really simple, so I'll leave it to the OP.
-Chris
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23KD6NVTmGHA.4816@xxxxxxxxxxxxxxxxxxxxxxx
I don't know what a C# 2.0 is, but I think that you're confusing two
concepts. The tools themselves can generate code in certain patterns, some
of which might be supported by a given version of the run-time framework
and some which might not.
However, if you're talking about C# as provided in Visual Studio 2005, it
can generate suitable code for either .NET Compact Framework 1.0 or 2.0
and, in fact, the project templates that you get for Smart Device
applications in VS2005 allow you to choose which target will be used. If
your project targets .NET CF 1.0, then it should run on devices that have
either .NET CF 1.0 or 2.0 on them. If you target .NET CF 2.0, no, that
code won't run on a device without .NET CF 2.0.
Paul T.
"Ivan" <Ivan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:64CE0F2D-DE47-4F4A-9DF9-BEDF99DE0ED1@xxxxxxxxxxxxxxxx
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
.
- Follow-Ups:
- Re: C# 2.0 vs. .NET Compact Framework 2.0
- From: Mullet
- Re: C# 2.0 vs. .NET Compact Framework 2.0
- References:
- Re: C# 2.0 vs. .NET Compact Framework 2.0
- From: Paul G. Tobey [eMVP]
- Re: C# 2.0 vs. .NET Compact Framework 2.0
- Prev by Date: Re: wifi and active sync
- Next by Date: Re: Windows Mobile 2003 class libraries versus Windows Mobile 5 class libraries
- Previous by thread: Re: C# 2.0 vs. .NET Compact Framework 2.0
- Next by thread: Re: C# 2.0 vs. .NET Compact Framework 2.0
- Index(es):
Relevant Pages
|