Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.Linq Namespace

The System.Linq namespace provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).

The Enumerable class contains LINQ standard query operators that operate on objects that implement IEnumerable<(Of <(T>)>).

The Queryable class contains LINQ standard query operators that operate on objects that implement IQueryable<(Of <(T>)>).

  ClassDescription
Public classEnumerableProvides a set of static (Shared in Visual Basic) methods for querying objects that implement IEnumerable<(Of <(T>)>).
Public classLookup<(Of <(TKey, TElement>)>) Represents a collection of keys each mapped to one or more values.
Public classQueryable Provides a set of static (Shared in Visual Basic) methods for querying data structures that implement IQueryable<(Of <(T>)>).
  InterfaceDescription
Public interfaceIGrouping<(Of <(TKey, TElement>)>) Represents a collection of objects that have a common key.
Public interfaceILookup<(Of <(TKey, TElement>)>) Defines an indexer, size property, and Boolean search method for data structures that map keys to IEnumerable<(Of <(T>)>) sequences of values.
Public interfaceIOrderedEnumerable<(Of <(TElement>)>) Represents a sorted sequence.
Public interfaceIOrderedQueryable Represents the result of a sorting operation.
Public interfaceIOrderedQueryable<(Of <(T>)>) Represents the result of a sorting operation.
Public interfaceIQueryable Provides functionality to evaluate queries against a specific data source wherein the type of the data is not specified.
Public interfaceIQueryable<(Of <(T>)>) Provides functionality to evaluate queries against a specific data source wherein the type of the data is known.
Public interfaceIQueryProvider Defines methods to create and execute queries that are described by an IQueryable object.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
System.Linq using statement erroneous      gwgi ... Thomas Lee   |   Edit   |   Show History

Why does the compiler say that 'Linq' does not exist in the 'System' namespace when specifying a using statement as follows:




using System.Linq;


----

Answer :


Add System.Core reference ( version 3.5 )


Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker