<?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>Coder World</title>
	<atom:link href="http://fookeansoftware.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fookeansoftware.wordpress.com</link>
	<description>FooKean Coder World</description>
	<lastBuildDate>Mon, 12 Nov 2007 16:30:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fookeansoftware.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Coder World</title>
		<link>http://fookeansoftware.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fookeansoftware.wordpress.com/osd.xml" title="Coder World" />
	<atom:link rel='hub' href='http://fookeansoftware.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Different between virtual method and abstract method</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/12/different-between-virtual-method-and-abstract-method/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/12/different-between-virtual-method-and-abstract-method/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 16:30:54 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[abstract]]></category>
		<category><![CDATA[abstract method]]></category>
		<category><![CDATA[different]]></category>
		<category><![CDATA[override]]></category>
		<category><![CDATA[virtual method]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/12/different-between-virtual-method-and-abstract-method/</guid>
		<description><![CDATA[Virtual method can have its own implementation and abstract cannot. Both methods can be overriden using the keywords override.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=26&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Virtual method can have its own implementation and abstract cannot.</p>
<p>Both methods can be overriden using the keywords override.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=26&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/12/different-between-virtual-method-and-abstract-method/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>Auto Logon for Windows 2003</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/auto-logon-for-windows-2003/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/auto-logon-for-windows-2003/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 08:06:56 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/auto-logon-for-windows-2003/</guid>
		<description><![CDATA[1. start-&#62;regedit. 2. scroll to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon 3. DefaultUserName=&#8221;your user name&#8221; 4. DefaultPassword=&#8221;Your Password&#8221; 5. AutoAdminLogon=1 That&#8217;s it. Happy Configure!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=25&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. start-&gt;regedit.</p>
<p>2. scroll to</p>
<p class="indent">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</p>
<p class="indent">3. DefaultUserName=&#8221;your user name&#8221;</p>
<p class="indent">4. DefaultPassword=&#8221;Your Password&#8221;</p>
<p class="indent">5. AutoAdminLogon=1</p>
<p class="indent">That&#8217;s it. Happy Configure!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=25&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/auto-logon-for-windows-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>Vista wireless cannot resume connection after sleeping mode</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/vista-wireless-cannot-resume-connection-after-sleeping-mode/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/vista-wireless-cannot-resume-connection-after-sleeping-mode/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:40:19 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[vista]]></category>
		<category><![CDATA[sleeping]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/vista-wireless-cannot-resume-connection-after-sleeping-mode/</guid>
		<description><![CDATA[I bought a Dell inspiron with Vista 3 months ago. Since then I cannot connect to wireless connection after hibernation or sleeping mode. I had to restart in order to reconnect. Recently it got worse and the only resolution is to unplug the cable and router for 10 seconds. I called Dell wireless suport to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=24&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I bought a Dell inspiron with Vista 3 months ago. Since then I cannot connect to wireless connection after hibernation or sleeping mode. I had to restart in order to reconnect. Recently it got worse and the only resolution is to unplug the cable and router for 10 seconds.</p>
<p>I called Dell wireless suport to resolve this frustrating issue. She tried changing power option to maximize network performance during battery charging or not charging. She also check my network card and uninstall, reinstall driver.</p>
<p>it took her 2 hours and she couldn&#8217;t resolve this issue. She had to escalate to level 2 support team and will call me 7AM tomorrow because she only works from 12AM to 9AM daily. </p>
<p> I personally tried ipconfig/release/renew, disable/enable network connection, uninstall ip6 and none of them seems working.</p>
<p>Worse case is I will roll back to Windows XP. Most of the software doesn&#8217;t support Vista anyway.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=24&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/vista-wireless-cannot-resume-connection-after-sleeping-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>Nullable</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/nullable/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/nullable/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:39:25 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[nullable]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/nullable/</guid>
		<description><![CDATA[If you ever want to able to determine whether a value has been assigned. It is good to declare Nullable variable because it has hasvalue and value member to detect whether a value has been assigned. Value type such as int, long will give an error if you assign to Null but not nullable. There [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=23&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you ever want to able to determine whether a value has been assigned. It is good to declare Nullable variable because it has hasvalue and value member to detect whether a value has been assigned. Value type such as int, long will give an error if you assign to Null but not nullable.</p>
<p>There are 2 ways to declare Nullable variable.</p>
<p>1. Nullable &lt;bool&gt; success=null;</p>
<p>2. bool? success=null;</p>
<p>if (success.hasvalue) Console.writeline(success.value)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=23&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/nullable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>structure in C#</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/structure-in-c/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/structure-in-c/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:38:50 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[structure]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/structure-in-c/</guid>
		<description><![CDATA[Things you need to know about structure. 1. It is a value type and placed on a stack (class allocated on the manage heap). structureA tempstruct=new structureA(1,2) strucureA tempstruct2=tempstruct. One of the example of structure is System.Drawing.Point When to use structure instead of class. 1. Will not be changed after creation. 2. Has an instance [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=22&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Things you need to know about structure.</p>
<p>1. It is a value type and placed on a stack (class allocated on the manage heap).</p>
<p>structureA tempstruct=new structureA(1,2)</p>
<p>strucureA tempstruct2=tempstruct.</p>
<p>One of the example of structure is System.Drawing.Point</p>
<p>When to use structure instead of class.</p>
<p>1. Will not be changed after creation.</p>
<p>2. Has an instance size less than 16bytes.</p>
<p>3. Logically represents a single valuye.</p>
<p>4. Will not be cast to a reference type.</p>
<p>If the value of tempstruct change, it will not affect tempstruct2 because they are allocated/pointing at different piece of memory.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=22&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/structure-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET trivia</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/net-trivia/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/net-trivia/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:38:05 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/net-trivia/</guid>
		<description><![CDATA[1. system.string is immutable. Any changes to the string causes runtime to create a new string and abandon  the old string. This causes unnecessay garbage collection. Use String concat, join, format and stringbuilder for better performance. 2. Creates Interface when you want multiple classes to behave similary and can be used interchangebly. Interface also known [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=21&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. system.string is immutable. Any changes to the string causes runtime to create a new string and abandon  the old string. This causes unnecessay garbage collection. Use String concat, join, format and stringbuilder for better performance.</p>
<p>2. Creates Interface when you want multiple classes to behave similary and can be used interchangebly. Interface also known as contracts, define sets of members that all classes that implement the interface must provide. Visual studio 2005 has a refactor tools that extract interface from a custom class.</p>
<p>3. Partial class allow you to split a class definition across multiple source file. Partial class is new in .NET 2.0 and allow developer to split their tasks. A developer can work on the same class in different files.</p>
<p>4. Boxing assigns a value to reference type and unboxing assigns a reference type to value type.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=21&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/net-trivia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>Generic Class in C#</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/generic-class-in-c/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/generic-class-in-c/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:37:12 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[generic class]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/generic-class-in-c/</guid>
		<description><![CDATA[Generic is new in .NET 2.0 and it allows you to define a type. Common uses are linked list, tree that doesn&#8217;t matter which type. Generic class reduced run-time errors and improved performance compare to Object class. To create a Generic Type Class &#60;A,B&#62; { public A a; public B b; public Gen(A m_a,B m_b) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=20&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Generic is new in .NET 2.0 and it allows you to define a type. Common uses are linked list, tree that doesn&#8217;t matter which type. Generic class reduced run-time errors and improved performance compare to Object class.</p>
<p>To create a Generic Type</p>
<p>Class &lt;A,B&gt;</p>
<p>{</p>
<p>public A a;</p>
<p>public B b;</p>
<p>public Gen(A m_a,B m_b)</p>
<p>{</p>
<p>a = m_a;</p>
<p>b = m_b;</p>
<p>}</p>
<p>}</p>
<p>To consume Generic type</p>
<p>Gen&lt;string,string&gt; genA=new Gen(&#8220;hello&#8221;,&#8221;friend&#8221;);</p>
<p>Limitation of using Generic class &#8211; you would limited to the capabilities of the base object class only.</p>
<p>To resolve this- use constraint &#8220;where&#8221;</p>
<p>class Gen&lt;C&gt;</p>
<p>where C:IComparable</p>
<p>then you can use icomparable members such as compareTo.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=20&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/generic-class-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>Delegates in C#</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/delegates-in-c/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/delegates-in-c/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:36:23 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[delegates]]></category>
		<category><![CDATA[function pointer]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/delegates-in-c/</guid>
		<description><![CDATA[I wrote a sample delegates program with 3 buttons that explains it all. Another good source of explaining delegates is in http://www.akadia.com/services/dotnet_delegates_and_events.html using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; //FooKean.wordpress.com namespace DelegateExample { public partial class Form1 : Form { public delegate void DelegateHandler(string tempstring); public Form1() { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=19&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote a sample delegates program with 3 buttons that explains it all.<br />
Another good source of explaining delegates is in <a href="http://www.akadia.com/services/dotnet_delegates_and_events.html">http://www.akadia.com/services/dotnet_delegates_and_events.html</a></p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<pre>
<span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.ComponentModel;
<span class="kwrd">using</span> System.Data;
<span class="kwrd">using</span> System.Drawing;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Windows.Forms; 

<span class="rem">//FooKean.wordpress.com</span>
<span class="kwrd">namespace</span> DelegateExample
{
    <span class="kwrd">public</span> <span class="kwrd">partial</span> <span class="kwrd">class</span> Form1 : Form
    {
        <span class="kwrd">public</span> <span class="kwrd">delegate</span> <span class="kwrd">void</span> DelegateHandler(<span class="kwrd">string</span> tempstring);
        <span class="kwrd">public</span> Form1()
        {
            InitializeComponent();
        } 

        <span class="kwrd">private</span> <span class="kwrd">void</span> Form1_Load(<span class="kwrd">object</span> sender, EventArgs e)
        {
        } 

        <span class="rem">//Methods that has the same signature as delegatehandler</span>
        <span class="kwrd">public</span> <span class="kwrd">void</span> DelegateMethod1(<span class="kwrd">string</span> tmpstring)
        {
            MessageBox.Show(<span class="str">"This is delegate1. "</span> + tmpstring);
        }
        <span class="kwrd">public</span> <span class="kwrd">void</span> DelegateMethod2(<span class="kwrd">string</span> tmpstring)
        {
            MessageBox.Show(<span class="str">"This is delegate2. "</span> + tmpstring);
        } 

        <span class="kwrd">private</span> <span class="kwrd">void</span> btnDelegate_Click(<span class="kwrd">object</span> sender, EventArgs e)
        {
            <span class="rem">//Delegate holds a reference to a method</span>
            DelegateHandler dh = <span class="kwrd">new</span> DelegateHandler(DelegateMethod1);
            dh(<span class="str">"method1"</span>); 

        } 

        <span class="kwrd">private</span> <span class="kwrd">void</span> btnDelegate2_Click(<span class="kwrd">object</span> sender, EventArgs e)
        {
            DelegateHandler dh = <span class="kwrd">new</span> DelegateHandler(DelegateMethod2);
            dh(<span class="str">"method2"</span>);
        } 

        <span class="kwrd">private</span> <span class="kwrd">void</span> btnErrHandler_Click(<span class="kwrd">object</span> sender, EventArgs e)
        {
            <span class="rem">//demonstration of multi casting.</span>
            <span class="rem">//point to more than one function at a time.</span>
            <span class="rem">//this is the best part of delegates.</span>
            DelegateHandler dh=<span class="kwrd">null</span>;
            dh += <span class="kwrd">new</span> DelegateHandler(DelegateMethod1);
            dh +=<span class="kwrd">new</span> DelegateHandler(DelegateMethod2);
            dh(<span class="str">"method1"</span>);
            dh(<span class="str">"method2"</span>);
            <span class="rem">//the output will be 4 message boxes.</span>
            <span class="rem">//delegate 1 method 1</span>
            <span class="rem">//delegate 2 method 2</span>
            <span class="rem">//delegate 1 method 2</span>
            <span class="rem">//delegate 2 method 2</span>
            <span class="rem">//Delegate is useful when you want to log event to a file </span>
            <span class="rem">//and alert user at the same time.</span>
        } 

    }
}</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=19&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/delegates-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>IsolatedStorage in C#</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/isolatedstorage-in-c/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/isolatedstorage-in-c/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:35:19 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[isolatedstorage]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/isolatedstorage-in-c/</guid>
		<description><![CDATA[What are the common ways of storing application/user applications before Isolated Storage? .INI, registry, API and readable XML file. All of them have their shortcoming and I will not discuss here. Isolated Storage is a special spot on the hard drive that only your app can find. I wrote a simple storage example program that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=18&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What are the common ways of storing application/user applications before Isolated Storage? .INI, registry, API and readable XML file. All of them have their shortcoming and I will not discuss here.</p>
<p>Isolated Storage is a special spot on the hard drive that only your app can find. I wrote a simple storage example program that illustrated this.</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<pre>
<span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.ComponentModel;
<span class="kwrd">using</span> System.Data;
<span class="kwrd">using</span> System.Drawing;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Windows.Forms;  

<span class="kwrd">using</span> System.IO.IsolatedStorage;
<span class="kwrd">using</span> System.IO;
<span class="rem">//Implementing write and read to storage file.</span>
<span class="kwrd">namespace</span> IsolatedStorageExample
{
    <span class="kwrd">public</span> <span class="kwrd">partial</span> <span class="kwrd">class</span> Form1 : Form
    {
        <span class="kwrd">public</span> Form1()
        {
            InitializeComponent();
        }
        <span class="rem">//Button create storage file</span>
        <span class="kwrd">private</span> <span class="kwrd">void</span> btnCreate_Click(<span class="kwrd">object</span> sender, EventArgs e)
        {
            <span class="rem">//Create an assembly/user-level store</span>
            <span class="rem">//each user has its own directory and each of them has its own assembly</span>
            IsolatedStorageFile userStore = IsolatedStorageFile.GetUserStoreForAssembly();
            <span class="rem">//Create a file stream with a name userSettings.setting</span>
            IsolatedStorageFileStream userStream = <span class="kwrd">new</span> IsolatedStorageFileStream(<span class="str">"userSettings.setting"</span>, FileMode.Create, userStore);
            StreamWriter sw = <span class="kwrd">new</span> StreamWriter(userStream);
            sw.Write(<span class="str">"This is a sample of storage."</span>);
            sw.Close();
        }
        <span class="rem">//Read from storage file</span>
        <span class="rem">//Even when if I create the storage long ago, i can still read it as</span>
        <span class="rem">//long as it is there. </span>
        <span class="kwrd">private</span> <span class="kwrd">void</span> btnRead_Click(<span class="kwrd">object</span> sender, EventArgs e)
        {
            IsolatedStorageFile userStore = IsolatedStorageFile.GetUserStoreForAssembly();
            IsolatedStorageFileStream userStream = <span class="kwrd">new</span> IsolatedStorageFileStream(<span class="str">"userSettings.setting"</span>, FileMode.Open, userStore);
            <span class="kwrd">string</span>[] files = userStore.GetFileNames(<span class="str">"userSettings.setting"</span>);
            <span class="kwrd">if</span> (files.Length != 0)
                <span class="kwrd">foreach</span> (String file <span class="kwrd">in</span> files)
                {
                    StreamReader sr = <span class="kwrd">new</span> StreamReader(userStream);
                    label1.Text = sr.ReadLine();
                }  

        }
    }
}</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=18&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/isolatedstorage-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
		<item>
		<title>ListDictionary</title>
		<link>http://fookeansoftware.wordpress.com/2007/11/11/listdictionary/</link>
		<comments>http://fookeansoftware.wordpress.com/2007/11/11/listdictionary/#comments</comments>
		<pubDate>Sun, 11 Nov 2007 07:34:35 +0000</pubDate>
		<dc:creator>fookean</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[listdictionary]]></category>

		<guid isPermaLink="false">http://fookeansoftware.wordpress.com/2007/11/11/listdictionary/</guid>
		<description><![CDATA[ListDictionary is new and it is exactly like Hashtable except that it is faster for collection of 10 items and below. Use HybridDictionary if the lists is very large. HybridDictionary implementation is the same as hashtable, listdictionary. using System; using System.Collections.Generic; using System.Text; using System.Collections.Specialized; using System.Collections; namespace SpecialCollections { class Program { static void [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=17&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ListDictionary is new and it is exactly like Hashtable except that it is faster for collection of 10 items and below.</p>
<p>Use HybridDictionary if the lists is very large. HybridDictionary implementation is the same as hashtable, listdictionary.</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<pre>
<span class="kwrd">using</span> System;
<span class="kwrd">using</span> System.Collections.Generic;
<span class="kwrd">using</span> System.Text;
<span class="kwrd">using</span> System.Collections.Specialized;
<span class="kwrd">using</span> System.Collections;    

<span class="kwrd">namespace</span> SpecialCollections
{
    <span class="kwrd">class</span> Program
    {
        <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
        {
            ListDictionary gpa = <span class="kwrd">new</span> ListDictionary();
            gpa.Add(<span class="str">"math"</span>, 4.0);
            gpa.Add(<span class="str">"science"</span>, 4.0);
            gpa.Add(<span class="str">"art"</span>, 4.0);
            gpa[<span class="str">"math"</span>] = 3.99;
            gpa[<span class="str">"math"</span>] = 3.89;    

            <span class="kwrd">foreach</span>(DictionaryEntry de <span class="kwrd">in</span> gpa)
            {
                Console.Write(de.Key + <span class="str">" score:"</span> + de.Value);
            }
        }
    }
}</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fookeansoftware.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fookeansoftware.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fookeansoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fookeansoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fookeansoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fookeansoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fookeansoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fookeansoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fookeansoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fookeansoftware.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fookeansoftware.wordpress.com&amp;blog=2099380&amp;post=17&amp;subd=fookeansoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fookeansoftware.wordpress.com/2007/11/11/listdictionary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4383724e21f923b1e78756e3fa40209?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fookean</media:title>
		</media:content>
	</item>
	</channel>
</rss>
