문제

I am using Visual studio 2005. Why is this line not supported?

using System.Linq;     

Error:

Error 1 Validation (XHTML 1.0 Transitional): Attribute values must be enclosed in quotation marks.

Error 2 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

도움이 되었습니까?

해결책

LINQ is not supported until .NET Framework v3.5, and visual studio 2005 supports .net v2.0 at max.

There are some workaround to use LINQ with .NET 2.0 but you will still need Visual Studio 2008 minimum!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top