<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Yet Other Blog URL! &#187; asp.net</title>
	<atom:link href="http://www.yoblogurl.com/tag/asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yoblogurl.com</link>
	<description>Where blog&#039;in ends.</description>
	<lastBuildDate>Tue, 08 Dec 2009 14:23:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>Copyright &#xA9; Yet Other Blog URL! 2010 </copyright>
		<managingEditor>webchetan@gmail.com (Yet Other Blog URL!)</managingEditor>
		<webMaster>webchetan@gmail.com (Yet Other Blog URL!)</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Where blog#039;in ends.</itunes:summary>
		<itunes:author>Yet Other Blog URL!</itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name>Yet Other Blog URL!</itunes:name>
			<itunes:email>webchetan@gmail.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.yoblogurl.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.yoblogurl.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Yet Other Blog URL!</title>
			<link>http://www.yoblogurl.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>LINQ Pocket Reference: Snippet 1 « JABS! Just Another Blog Site!</title>
		<link>http://www.yoblogurl.com/2009/10/linq-pocket-reference-snippet-1-%c2%ab-jabs-just-another-blog-site/</link>
		<comments>http://www.yoblogurl.com/2009/10/linq-pocket-reference-snippet-1-%c2%ab-jabs-just-another-blog-site/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:24:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://www.yoblogurl.com/?p=39</guid>
		<description><![CDATA[
			
				
			
		
LINQ or Language Integrated Query allows you to write structures type safe-queries over local object collections and remote data sources. Introduced in .NET 3.5, it LINQ lets you query any collection implementing IEnumerable&#60;&#62;, whether an array, list, XML DOM, or remote data source.
LINQ offers the benefits of both compile-time type checking and dynamic query composition.Base [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.yoblogurl.com%2F2009%2F10%2Flinq-pocket-reference-snippet-1-%25c2%25ab-jabs-just-another-blog-site%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.yoblogurl.com%2F2009%2F10%2Flinq-pocket-reference-snippet-1-%25c2%25ab-jabs-just-another-blog-site%2F&amp;source=webchetan&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>LINQ or Language Integrated Query allows you to write structures type safe-queries over local object collections and remote data sources. Introduced in .NET 3.5, it LINQ lets you query any collection implementing IEnumerable&lt;&gt;, whether an array, list, XML DOM, or remote data source.</p>
<p>LINQ offers the benefits of both compile-time type checking and dynamic query composition.Base units of LINQ are sequences and elements.</p>
<p>A sequence is any object that implements the IEnumerable&lt;&gt; interface.</p>
<p>Now the element is each item in the sequence.</p>
<p>Ex:</p>
<p>string[] names = { “Apples”, “Oranges”, “Grapes” };</p>
<p>Such a sequence is called a local sequence, because it represents a local collection of objects in memory.</p>
<p>A query operator is a method that transforms a sequence.</p>
<p>A query is an expression that transforms sequences with query operators.</p>
<p>For instance we can apply the ‘Where’ operator on a simple array to extract those whose length is at least 7 characters long.</p>
<p>Ex:</p>
<pre><em>string[] names = { “Apples”, “Oranges”, “Grapes” };</em></pre>
<pre><em>IEnumerable filteredNames = System.Linq.Enumerable.Where names, n =&gt; n.length &gt;= 7;</em></pre>
<pre><em>foreach string n in filteredNames {</em></pre>
<pre><em>Console.Write n + “|”;</em></pre>
<pre><em>}</em></pre>
<p>Output: Oranges</p>
<p>The above data and examples are courtesy of LINQ Pocket Reference by Joseph Albahari and Ben Albahari @ O’Reilly ®More snippets to follow soon, along with working examples and links.</p>
<p>via <a href="http://webchetan.wordpress.com/2009/05/06/linq-pocket-reference-snippet-1/">LINQ Pocket Reference: Snippet 1 « JABS! Just Another Blog Site!</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoblogurl.com/2009/10/linq-pocket-reference-snippet-1-%c2%ab-jabs-just-another-blog-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
