Click here to Skip to main content
15,890,982 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What can I do to resolve this error?

none
Error   1   The type or namespace name 'linq' does not exist in the namespace 'System' (are you missing an assembly reference?) D:\Users\Roham\Desktop\c_sharp_projects\tel_book\tel_book\tel_book\Form2.cs 6   14  tel_book
Posted
Updated 20-Aug-10 3:42am
v3
Comments
Khaniya 20-Aug-10 9:42am    
may I know witch version of VS.Net your are using ?
I mean 2005/2008/2010 ?
roham_06 20-Aug-10 11:48am    
2008

Use System.Linq (with a capital L).
 
Share this answer
 
Comments
roham_06 20-Aug-10 11:49am    
i check it but dont work and error appear!
Sandeep Mewara 20-Aug-10 13:35pm    
I doubt if namespaces are case-sensitive
Nish Nishant 20-Aug-10 13:51pm    
Reason for my vote of 5
Potential answer. I propose this as answer too.
Try adding the appropriate Reference: System.Core

Note: this is not a using directive.
It is a Reference. Click References, then Add Reference in Solution Explorer.
If your assembly only targets .NET 2.0, you cannot add it. There is nothing to be done, but to change the target assembly (not possible in Visual Studio 2005, though)
You may download the free Visual C# 2010 Express from Microsoft.
 
Share this answer
 
v2
Comments
Nish Nishant 20-Aug-10 13:50pm    
Reason for my vote of 5
Proposed answer.
roham_06 21-Aug-10 0:06am    
thanks by reinstall solved

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900