Click here to Skip to main content
13,445,602 members (38,372 online)
Rate this:
Please Sign up or sign in to vote.
Getting confused by LINQ
Actually what is LINQ?
is it same as
what is the difference?
Posted 30-Nov-12 3:04am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This really is a search you could do yourself on Google. A search for "what is Linq C#" in Google resulted this as its first result:[^]
Member 9125327 30-Nov-12 9:28am
LINQ is a query language which you can do in your program ( right or wrong?
Tim Corey 30-Nov-12 9:34am
Technically correct but it misses the point. You can put SQL statements in your program as well. Linq is an object query language that allows a standard way of querying different types of data sources (XML, SQL, POCOs, etc.) When talking about accessing SQL, you can do the same thing with Linq as you can with a TSQL statement (both in your code). Because of the efficiency of Linq, it is practically the same in terms of performance as making the SQL call from code. My suggestion would be to learn more about Linq and figure out what you are trying to do exactly to see if Linq is the right choice.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180314.2 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100