<?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: Using Object Initializers on Dictionary</title>
	<atom:link href="http://www.developingfor.net/c-30/using-object-initializers-on-dictionary.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.developingfor.net/c-30/using-object-initializers-on-dictionary.html</link>
	<description>Real World .NET Methods, Tricks, and Examples</description>
	<lastBuildDate>Sat, 31 Jul 2010 00:54:16 -0400</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joel</title>
		<link>http://www.developingfor.net/c-30/using-object-initializers-on-dictionary.html/comment-page-1#comment-58</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Mon, 17 Mar 2008 18:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/c-30/using-object-initializers-on-dictionary.html#comment-58</guid>
		<description>That is very interesting. At first I wondered why this would work when the built int .Add(x,y) method wouldn&#039;t, but I figured it out.

The reason is that .Add returns void, but mdonatas&#039;s Extension Method returns the Dictionary&lt;K,V&gt; object itself.  I would be curious to see if there is a performance difference, but otherwise I think this is a good solution and shows one of the strengths of Extension Methods.

Thanks mdonatas!</description>
		<content:encoded><![CDATA[<p>That is very interesting. At first I wondered why this would work when the built int .Add(x,y) method wouldn&#8217;t, but I figured it out.</p>
<p>The reason is that .Add returns void, but mdonatas&#8217;s Extension Method returns the Dictionary<k ,V> object itself.  I would be curious to see if there is a performance difference, but otherwise I think this is a good solution and shows one of the strengths of Extension Methods.</p>
<p>Thanks mdonatas!</k></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mdonatas</title>
		<link>http://www.developingfor.net/c-30/using-object-initializers-on-dictionary.html/comment-page-1#comment-57</link>
		<dc:creator>mdonatas</dc:creator>
		<pubDate>Fri, 14 Mar 2008 21:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/c-30/using-object-initializers-on-dictionary.html#comment-57</guid>
		<description>How about such solution thanks to extension methods magic?

http://farm4.static.flickr.com/3171/2332822247_55aa256da5_o.png</description>
		<content:encoded><![CDATA[<p>How about such solution thanks to extension methods magic?</p>
<p><a href="http://farm4.static.flickr.com/3171/2332822247_55aa256da5_o.png" rel="nofollow">http://farm4.static.flickr.com/3171/2332822247_55aa256da5_o.png</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
