<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Smarter Dictionaries in C#.Net</title>
	<atom:link href="http://www.soundc.de/blog/2008/08/05/smarter-dictionaries-in-cnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.soundc.de/blog/2008/08/05/smarter-dictionaries-in-cnet/</link>
	<description>Electronic Music, Programming</description>
	<lastBuildDate>Sat, 29 Oct 2011 11:18:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: taelor</title>
		<link>http://www.soundc.de/blog/2008/08/05/smarter-dictionaries-in-cnet/comment-page-1/#comment-1912</link>
		<dc:creator>taelor</dc:creator>
		<pubDate>Wed, 13 May 2009 18:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.soundc.de/blog/?p=10#comment-1912</guid>
		<description>Nice beats, nice post. Looks more Rubyish this way. Now we just need dynamic values in the Dictionary and I&#039;ll be happy!

$)</description>
		<content:encoded><![CDATA[<p>Nice beats, nice post. Looks more Rubyish this way. Now we just need dynamic values in the Dictionary and I&#8217;ll be happy!</p>
<p>$)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: verma</title>
		<link>http://www.soundc.de/blog/2008/08/05/smarter-dictionaries-in-cnet/comment-page-1/#comment-358</link>
		<dc:creator>verma</dc:creator>
		<pubDate>Mon, 10 Nov 2008 17:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.soundc.de/blog/?p=10#comment-358</guid>
		<description>Hey Krishnan, How are you?

I think you&#039;re right.  I primarily work with v2.5 of the framework.  May be that&#039;s why I still see it.  I think this has been changed with more recent versions of the framework.</description>
		<content:encoded><![CDATA[<p>Hey Krishnan, How are you?</p>
<p>I think you&#8217;re right.  I primarily work with v2.5 of the framework.  May be that&#8217;s why I still see it.  I think this has been changed with more recent versions of the framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishnan</title>
		<link>http://www.soundc.de/blog/2008/08/05/smarter-dictionaries-in-cnet/comment-page-1/#comment-355</link>
		<dc:creator>Krishnan</dc:creator>
		<pubDate>Mon, 10 Nov 2008 16:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.soundc.de/blog/?p=10#comment-355</guid>
		<description>Hey dude,

I was just browsing your website and I noticed this entry. Although I know this was written a long time back, I wanted to comment on this.

Probably, you have already realised this. The indexer in a Dictionary collection can be used to Add AND Update the collection. So if you have something like - 

Dictionary keyVal = new Dictionary();
keyVal[1] = &quot;Hello&quot;;

This should work even though the key [1] does not exist. The indexer adds the entry if it does not find the key and updates the value if it does. Im not sure when you get the exception.</description>
		<content:encoded><![CDATA[<p>Hey dude,</p>
<p>I was just browsing your website and I noticed this entry. Although I know this was written a long time back, I wanted to comment on this.</p>
<p>Probably, you have already realised this. The indexer in a Dictionary collection can be used to Add AND Update the collection. So if you have something like &#8211; </p>
<p>Dictionary keyVal = new Dictionary();<br />
keyVal[1] = &#8220;Hello&#8221;;</p>
<p>This should work even though the key [1] does not exist. The indexer adds the entry if it does not find the key and updates the value if it does. Im not sure when you get the exception.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

