[Mono-dev] Using the System.Linq library
marek safar
marek.safar at seznam.cz
Fri Apr 6 05:42:03 EDT 2007
Hello Mark,
>
> 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
Yes, that's right syntax for code which uses C# 3.0 features.
>
> 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?
Your code is correct but you hit a bug in our compiler.
Please fill a bug report in http://bugzilla.ximian.com
Regards,
Marek
More information about the Mono-devel-list
mailing list