[Mono-dev] Using the System.Linq library

Antonello Provenzano antonello at deveel.com
Fri Apr 6 03:04:18 EDT 2007


Mark,

LINQ functions are under the profile 2.0 (I don't know why still don't
have 3.0): to compile it you just have to add the PROFILE=net_2_0
directive to the compilation.

Cheers.
Antonello


On 4/3/07, Mark IJbema <mark at ijbema.xs4all.nl> wrote:
> Hi,
>
> I'm trying to use the System.Linq library, but i don't know how. It's in
> System.Core, so i used:
>
> gmcs -langversion:linq -r:System.Core Bla.cs
> gmcs -langversion:linq -r:/home/mark/local/lib/mono/2.0/System.Core.dll Bla.cs
>
> On the file:
>
> http://ijbema.home.fmf.nl/Bla.cs
>
> Can anyone tell me how to compile this file so i can use the provided
> extension methods in Enumerable.cs?
>
> Regards,
>
> Mark
>
> PS. I've already asked on IRC and tried to google it, but both to no
> avail
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



More information about the Mono-devel-list mailing list