Just few months back in PDC 2005 Microsoft introduced LINQ, the language Integrated Query.  The concept in which developers can use SQL queries syntax inside programming language (C# or VB 9.0).  Currently you can test LINQ by downloading the LINQ Tech preview from using Visual Studio .Net Beta II.  The programming language is C#.  But if you have Visual Studio .Net Beta III release or the candidate release you can test LINQ in as well. 

So the question comes to mind what is LINQ Well, LINQ is the culmination of a large number of techniques Microsoft is producing to help deal with the large disconnect between data programming and general purpose programming languages. LINQ stands for Language INtegrated Query, and simply put, it’s about taking query, set operations and transforms and making them first class concepts in the .Net world.  This means making them available in the CLR, in .Net programming languages, and in the APIs that you’re going to be using to program against data in the future.  Through all this you can get a completely unified query experience against objects, XML, and relational data.  i.e. the most common forms of data that will appear in your application.  And, what’s best, if you happen to have your own form of data that doesn’t fit into those different models, then you can use our extensible system to target that model as well.  After all, XML and relational data access models (called XLinq and DLinq respectively) are just APIs built on top of the core Linq infrastructure.  As such, i’m not going to dive too deeply into those specific models.  I’m going to let the individual teams who are responsible for that (and who know those APIs far more intimately) to give you all the information at their disposal.  If you wanted to read more

– LINQ home page on MSDN. This is the most comprehensive page.
– LINQ project overview.  
– LINQ samples in C#.
– LINQ downloadable preview (compiler, samples, and more!) here.

A more practical look is below (C#)

The LINQ is under introduction but new technology is starting to come out from Microsoft doors.  A new programming langue called YODA is under development.  The old C#, C++ developer code is below:



public void Main(string[] args) {

   Console.WriteLine(?Hello World?);




We will now have eloquent YODA-like syntax:



(args of string many are they) Main is what they seek yet return they do not.


Brace you must

     Written it is, the Console. ?Hello World?



I know it?s difficult to believe, as strange as it seems. Yet, sometime in the future, everyone will be writing software this way




2 thoughts on “LINQ => YODA

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s