Where is System.Linq

H

hon123456

Dear all,

I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.
Thanks.
 
M

Microsoft Newsserver

Yes, its only in 3.x of the framework. If you upgrade to visual studio 2008
you will get this automatically.
 
A

Andrus

I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.

You can get System.Core.dll and System.Data.Linq.dll from Mono (
http://go-mono.com)
and add them to your project.

Andrus.
 
A

Arne Vajhøj

Andrus said:
You can get System.Core.dll and System.Data.Linq.dll from Mono (
http://go-mono.com)
and add them to your project.

My understanding was that Mono 1.9/2.0 only supported
LINQ for objects and XML not for database and that LINQ
for database is scheduled for Mono 2.2 around Christmas.

They have LINQ for database now ?

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top