<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Simple thoughts from a simple mind</title>
	<atom:link href="http://learningdotnet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://learningdotnet.wordpress.com</link>
	<description>Simple thoughts from a simple mind</description>
	<lastBuildDate>Mon, 30 Jul 2007 23:43:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='learningdotnet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Simple thoughts from a simple mind</title>
		<link>http://learningdotnet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://learningdotnet.wordpress.com/osd.xml" title="Simple thoughts from a simple mind" />
	<atom:link rel='hub' href='http://learningdotnet.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Playing with IL code</title>
		<link>http://learningdotnet.wordpress.com/2007/07/31/playing-with-il-code/</link>
		<comments>http://learningdotnet.wordpress.com/2007/07/31/playing-with-il-code/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 23:43:06 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/07/31/playing-with-il-code/</guid>
		<description><![CDATA[This is an interesting post on how to tweak the IL code. And here is an example on how to modify the IL code for a speacial case of tail recursion, to remove the stack overflow error.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=18&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is an interesting <a target="_blank" href="http://blogs.msdn.com/abhinaba/archive/2007/07/27/easy-way-to-modify-il-code.aspx">post </a>on how to tweak the IL code. And here is an example on how to modify the IL code for a speacial case of tail recursion, to remove the stack overflow error.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=18&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/07/31/playing-with-il-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio profiler : Difference between Elapsed and Application Time</title>
		<link>http://learningdotnet.wordpress.com/2007/07/19/visual-studio-profiler-difference-between-elapsed-and-application-time/</link>
		<comments>http://learningdotnet.wordpress.com/2007/07/19/visual-studio-profiler-difference-between-elapsed-and-application-time/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 17:43:54 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/07/19/visual-studio-profiler-difference-between-elapsed-and-application-time/</guid>
		<description><![CDATA[I had been struggling to understand what does the  terms mean in the VS profiler. The following two posts helped me to understand http://blogs.msdn.com/profiler/archive/2004/08/04/208286.aspx http://blogs.msdn.com/profiler/archive/2004/06/09/152023.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=17&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had been struggling to understand what does the  terms mean in the VS profiler. The following two posts helped me to understand</p>
<p><a href="http://blogs.msdn.com/profiler/archive/2004/08/04/208286.aspx">http://blogs.msdn.com/profiler/archive/2004/08/04/208286.aspx</a></p>
<p><a href="http://blogs.msdn.com/profiler/archive/2004/06/09/152023.aspx">http://blogs.msdn.com/profiler/archive/2004/06/09/152023.aspx</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=17&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/07/19/visual-studio-profiler-difference-between-elapsed-and-application-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>searching text in file using boyer moore algo</title>
		<link>http://learningdotnet.wordpress.com/2007/07/17/searching-text-in-file-using-boyer-moore/</link>
		<comments>http://learningdotnet.wordpress.com/2007/07/17/searching-text-in-file-using-boyer-moore/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 18:08:12 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
		
		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/07/17/searching-text-in-file-using-boyer-moore/</guid>
		<description><![CDATA[While looking out for algorithms to search text in a file. I found Boyer-Moore algo to be fastest one, you can get the c# code for the algorithm from http://www.codeproject.com/cs/algorithms/bmsearch.asp<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=16&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While looking out for algorithms to search text in a file. I found Boyer-Moore algo to be fastest one, you can get the c# code for the algorithm from <a href="http://www.codeproject.com/cs/algorithms/bmsearch.asp">http://www.codeproject.com/cs/algorithms/bmsearch.asp</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=16&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/07/17/searching-text-in-file-using-boyer-moore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Epsilon</title>
		<link>http://learningdotnet.wordpress.com/2007/07/11/epsilon/</link>
		<comments>http://learningdotnet.wordpress.com/2007/07/11/epsilon/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 18:15:38 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[BFC]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/07/11/epsilon/</guid>
		<description><![CDATA[Epsilon ε is the fifth letter of Greek alphabet , in calculas an arbitary small positive quantity is denoted as ε. In dot net Double.epsilon field represents the smallest positive Double value greater than zero. The field is constant and according to MSDN its value is 4.94065645841247e-324.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=15&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Epsilon <strong>ε </strong>is the fifth letter of Greek alphabet , in calculas an arbitary small positive quantity is denoted as ε.</p>
<p>In dot net Double.epsilon field represents the smallest positive Double value greater than zero.</p>
<p>The field is constant and according to MSDN its value is 4.94065645841247e-324.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=15&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/07/11/epsilon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Defining variable</title>
		<link>http://learningdotnet.wordpress.com/2007/07/05/defining-variable/</link>
		<comments>http://learningdotnet.wordpress.com/2007/07/05/defining-variable/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 17:23:46 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/07/05/defining-variable/</guid>
		<description><![CDATA[Can you declare variables on demand? I mean to say whenever in my code, I need a variable- I declare the variable, will this improve the performance of my application? The answer is no, the CLR defines all the variables of a function at the starting of the funtion,  so no performance benifits etc., this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=14&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Can you declare variables on demand? I mean to say whenever in my code, I need a variable- I declare the variable, will this improve the performance of my application?</p>
<p>The answer is no, the CLR defines all the variables of a function at the starting of the funtion,  so no performance benifits etc., this can be checked by reading the IL of the code using ILDASM.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=14&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/07/05/defining-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>more command</title>
		<link>http://learningdotnet.wordpress.com/2007/06/24/more-command/</link>
		<comments>http://learningdotnet.wordpress.com/2007/06/24/more-command/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 16:45:55 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/06/24/more-command/</guid>
		<description><![CDATA[I have created the following code snippet to print the Application.cfm file content, paginated on the system console (similar to the more command) TextReader tr = new StreamReader(@&#8221;c:\Application.cfm&#8221;); while (tr.Peek() != -1) { System.Console.WriteLine(tr.ReadLine()); if (System.Console.CursorTop &#62;= System.Console.WindowHeight &#8211; 4) { System.Console.WriteLine(&#8220;Press any key to continue&#8230;&#8221;); System.Console.ReadKey(true); System.Console.Clear(); } } System.Console.ReadKey(true);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=6&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have created the following code snippet to print the Application.cfm file content, paginated on the system console (similar to the more command)</p>
<p>TextReader tr = new StreamReader(@&#8221;c:\Application.cfm&#8221;);<br />
while (tr.Peek() != -1)<br />
{<br />
System.Console.WriteLine(tr.ReadLine());<br />
if (System.Console.CursorTop &gt;= System.Console.WindowHeight &#8211; 4)<br />
{<br />
System.Console.WriteLine(&#8220;Press any key to continue&#8230;&#8221;);<br />
System.Console.ReadKey(true);<br />
System.Console.Clear();<br />
}<br />
}<br />
System.Console.ReadKey(true);</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=6&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/06/24/more-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>chap 1</title>
		<link>http://learningdotnet.wordpress.com/2007/06/24/chap-1/</link>
		<comments>http://learningdotnet.wordpress.com/2007/06/24/chap-1/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 16:44:42 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/06/24/chap-1/</guid>
		<description><![CDATA[I have finished reading the first chapter, and following are my notes using directive directly inside the namespace is invalid using directive statements are not commulative a class not nested in any namespace is in the global namespace namespaces can be nested Main is entry point a C# program and Main can be in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=13&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have finished reading the first chapter, and following are my notes</p>
<ul>
<li>using directive directly inside the namespace is invalid</li>
<li>using directive statements are not commulative</li>
<li>a class not nested in any namespace is in the global namespace</li>
<li>namespaces can be nested</li>
<li>Main is entry point a C# program and Main can be in a class or a struct</li>
<li>Main method can be private</li>
<li>Main method cannot be overloaded</li>
<li>If there are multiple classes with Main method then you can set startup in the project properties</li>
<li>the default exit code for an application is zero,The exit code of a process is stored in the Process Environment Block (PEB) and readable through the <em>GetExitCodeProcess</em> API.</li>
<li>? to declare a Nullable &lt;T&gt; type</li>
<li>Read <a target="_blank" href="http://blogs.msdn.com/ericgu/archive/2004/05/27/143221.aspx">here </a>to understand why Nullable type struct was introduced</li>
<li>?? to check for null value</li>
<li>C# switch does not allow cascading between switch case statements, it is only allowed if case does not have any statements defined</li>
<li>switch(k) where k can be int, char, enum or string type or any object, value or ref which can be converted to these types</li>
<li>The <em>foreach</em> statement confirms that the enumerator or elements of the <em>collection</em> are disposable objects. If so, the <em>foreach</em> statement calls the <em>Dispose</em> method on the applicable objects. Disposable objects implement the <em>IDisposable</em> interface.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=13&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/06/24/chap-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning C#</title>
		<link>http://learningdotnet.wordpress.com/2007/06/24/learning-c/</link>
		<comments>http://learningdotnet.wordpress.com/2007/06/24/learning-c/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 16:32:03 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/06/24/learning-c/</guid>
		<description><![CDATA[I have picked the book &#8220;Programming Visual c# 2005&#8243; to be read from cover to cover.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=12&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have picked the book &#8220;Programming Visual c# 2005&#8243; to be read from cover to cover.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=12&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/06/24/learning-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>boxing</title>
		<link>http://learningdotnet.wordpress.com/2007/06/24/boxing/</link>
		<comments>http://learningdotnet.wordpress.com/2007/06/24/boxing/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 16:00:36 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/06/24/boxing/</guid>
		<description><![CDATA[What is boxing and unboxing? http://msdn.microsoft.com/msdnmag/issues/1200/dotnet/ Advantage? To convert a value type to reference type Disadvantage? Performance Best practice: int i = 10; Console.Writeline(&#8220;i = &#8221; + i + &#8221; &#8221; + i); Writeline invokes String Concat(object arg1, object arg2) method to generate the string to be passed on to Writeline method. Now here when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=11&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What is boxing and unboxing?<br />
http://msdn.microsoft.com/msdnmag/issues/1200/dotnet/</p>
<p>Advantage?<br />
To convert a value type to reference type</p>
<p>Disadvantage?<br />
Performance</p>
<p>Best practice:<br />
int i = 10;<br />
Console.Writeline(&#8220;i = &#8221; + i + &#8221; &#8221; + i);<br />
Writeline invokes String Concat(object arg1, object arg2) method to generate the string to be passed on to Writeline method.<br />
Now here when passing the value of i boxing happens. If there is a reptead use of a variable in the Writeline statement it can explicitly boxed and then passed on to the Writeline function.</p>
<pre></pre>
<p>Which is faster?<br />
int i =10;<br />
or<br />
System.Int32 i =10;<br />
Ans:Both will generate the same IL code</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=11&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/06/24/boxing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>generic class</title>
		<link>http://learningdotnet.wordpress.com/2007/06/24/generic-class/</link>
		<comments>http://learningdotnet.wordpress.com/2007/06/24/generic-class/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 16:00:18 +0000</pubDate>
		<dc:creator>learningdotnet</dc:creator>
				<category><![CDATA[c# 2.0]]></category>

		<guid isPermaLink="false">http://learningdotnet.wordpress.com/2007/06/24/generic-class/</guid>
		<description><![CDATA[Will the following code compile ? class testgeneric&#60;type&#62; { type _i; public type I { get { return _i; } set { _i = value; } } } class testgeneric { int _i; public int I { get { return _i; } set { _i = value; } } } Ans: Yes<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=10&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Will the following code compile ?</p>
<p>class testgeneric&lt;type&gt;<br />
{<br />
type _i;</p>
<p>public type I<br />
{<br />
get { return _i; }<br />
set { _i = value; }<br />
}</p>
<p>}<br />
class testgeneric<br />
{<br />
int _i;</p>
<p>public int I<br />
{<br />
get { return _i; }<br />
set { _i = value; }<br />
}</p>
<p>}</p>
<p><font size="1">Ans: Yes</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learningdotnet.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learningdotnet.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learningdotnet.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learningdotnet.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/learningdotnet.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/learningdotnet.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learningdotnet.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learningdotnet.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learningdotnet.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learningdotnet.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learningdotnet.wordpress.com&amp;blog=1278039&amp;post=10&amp;subd=learningdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://learningdotnet.wordpress.com/2007/06/24/generic-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78be1ef64f971ee642cb047cd047332c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">learningdotnet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
