[Opensim-dev] C# 3.0 vs .Net 2

Teravus Ovares teravus at gmail.com
Wed Mar 25 14:57:29 UTC 2009


The problem with Lamda Expressions isn't compiling to IL 2.0..   it's
compiling in Visual Studio 2005.  Visual Studio 2005 will not compile
Lamda Expressions at all.

Regards

Teravus

On 3/25/09, Sean Dague <sdague at gmail.com> wrote:
> Stefan Andersson wrote:
> > Yo.
> >=20
> > =20
> >=20
> > Feeling a bit stupid here, but just realized that many C# 3.0 features =
> (lambda expressions and inferred types, for example) compiles just fine t=
> o the .Net 2 IL, so in practise, it can be used if the installed csc supp=
> orts it.
> >=20
> > =20
> >=20
> > What I'm saying is that we can probably start using some C# 3.0 feature=
> s already even on mono (I guess) without moving from .Net 2.0. Question i=
> s, what features?
> >=20
> >=20
> > Could any mono person have a look at what C# 3.0 constructs are actuall=
> y backwards compatible with .Net 2.0 on mono?
>
> One approach would be to make a new unit test that used some of those
> features, then it would be easy for people to test with their
> environment.  I suspect mono 1.9.1 is still going to have issues, and we
> haven't committed to dumping it yet (as that's what is shipping in the
> latest stable release of Ubuntu, which a lot of people are using).
>
> The new Ubuntu release comes out in April with Mono 2.0.2, so we can
> leave 1.9.1 behind in the near future.
>
>        -Sean
>
> --=20
> Sean Dague / Neas Bade
> sdague at gmail.com
> http://dague.net
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
>



More information about the Opensim-dev mailing list