Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
LINQ QB

LINQ QB

Ratings: (0)|Views: 43|Likes:
Published by Sreenivasarao

More info:

Published by: Sreenivasarao on Aug 27, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

10/12/2012

pdf

text

original

 
1.Assembly which provides functionality for using LINQ with relational databases (LINQto SQL)
[Topic: LINQ]
a.System.Core.dll b.System.Data.Linq.dllc.System.Xml.Linq.dlld.System.Data.SqlClient.dll2.Refer the below mentioned code snippet and identify the correct output
[Topic: LINQ]
class Program{static void Main(){string[] currentVideoGames={“Morrowind”,”BioShock”,”Half Life2: Episode 1”,“A Dark”, “Daxter”, “System Shock 2”};IEnumerable<string> subset=from g in currentVideoGames where g.Length>6orderby g select g;foreach(string s in subset){Console.WriteLine(“Item: {0}”,s);}}}a.Item: MorrowindItem: BioShock Item: Half Life2: Episode 1Item: System Shock 2 b.Item: BioShock 
 
Item: Half Life2: Episode 1Item: MorrowindItem: System Shock 2c.Item: BioShock Item: Half Life2: Episode 1Item: System Shock 2d.Item: BioShock Item: MorrowindItem: Half Life2: Episode 1Item: System Shock 23.Refer the below mentioned code snippetclass Program{static void Main(){string[] currentVideoGames={“Morrowind”,”BioShock”,”Half Life2: Episode 1”,“A Dark”, “Daxter”, “System Shock 2”};
var subset=from g in currentVideoGames where g.Length>6 orderby g selectg;
foreach(string s in subset){Console.WriteLine(“Item: {0}”,s);}}

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->