<?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: Upgrade your C# Skills part 2 &#8211; Compiler Inference, Object Initializers, and Anonymous Types</title>
	<atom:link href="http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html</link>
	<description>Real World .NET Methods, Tricks, and Examples</description>
	<lastBuildDate>Tue, 07 Sep 2010 10:31:03 -0400</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jason</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-9967</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 06 Apr 2010 17:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-9967</guid>
		<description>Whoops, I meant a read only Automatic property.</description>
		<content:encoded><![CDATA[<p>Whoops, I meant a read only Automatic property.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-9966</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 06 Apr 2010 17:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-9966</guid>
		<description>I want to point out something as far as discussing properties.  You can have something resembling an a private Automatic property.  Just do the following:

public String Foo { get; private set; }</description>
		<content:encoded><![CDATA[<p>I want to point out something as far as discussing properties.  You can have something resembling an a private Automatic property.  Just do the following:</p>
<p>public String Foo { get; private set; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klinger</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-3018</link>
		<dc:creator>Klinger</dc:creator>
		<pubDate>Fri, 09 Jan 2009 21:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-3018</guid>
		<description>Hi Joel,

Great posts you have.

Below is a way to add anonymous types to a list.

var list = (new[] { new { first = &quot;f1&quot;, last = &quot;l1&quot; } }).ToList();
list.Add(new { first = &quot;f2&quot;, last = &quot;l2&quot; });
list.Add(new { first = &quot;f3&quot;, last = &quot;l3&quot; });
list.Add(new { first = &quot;f4&quot;, last = &quot;l4&quot; });
foreach (var item in list)
{
    Console.WriteLine(item.first, item.last);
}
Console.ReadKey();</description>
		<content:encoded><![CDATA[<p>Hi Joel,</p>
<p>Great posts you have.</p>
<p>Below is a way to add anonymous types to a list.</p>
<p>var list = (new[] { new { first = &#8220;f1&#8243;, last = &#8220;l1&#8243; } }).ToList();<br />
list.Add(new { first = &#8220;f2&#8243;, last = &#8220;l2&#8243; });<br />
list.Add(new { first = &#8220;f3&#8243;, last = &#8220;l3&#8243; });<br />
list.Add(new { first = &#8220;f4&#8243;, last = &#8220;l4&#8243; });<br />
foreach (var item in list)<br />
{<br />
    Console.WriteLine(item.first, item.last);<br />
}<br />
Console.ReadKey();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Upgrade your C# Skills Series</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-42</link>
		<dc:creator>Upgrade your C# Skills Series</dc:creator>
		<pubDate>Thu, 07 Feb 2008 07:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-42</guid>
		<description>[...] Part 2 - Language Goodies [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 2 &#8211; Language Goodies [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some Good Development Article Series &#171; Rhonda Tipton&#8217;s WebLog</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-30</link>
		<dc:creator>Some Good Development Article Series &#171; Rhonda Tipton&#8217;s WebLog</dc:creator>
		<pubDate>Sat, 19 Jan 2008 21:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-30</guid>
		<description>[...] Upgrade your C# Skills part 2 - Compiler Inference, Object Initializers, and Anonymous Types [...]</description>
		<content:encoded><![CDATA[<p>[...] Upgrade your C# Skills part 2 &#8211; Compiler Inference, Object Initializers, and Anonymous Types [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 23 Links Today (2008-01-07)</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-25</link>
		<dc:creator>23 Links Today (2008-01-07)</dc:creator>
		<pubDate>Mon, 07 Jan 2008 18:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-25</guid>
		<description>[...] Upgrade your C# Skills part 2 - Compiler Inference, Object Initializers, and Anonymous Types [...]</description>
		<content:encoded><![CDATA[<p>[...] Upgrade your C# Skills part 2 &#8211; Compiler Inference, Object Initializers, and Anonymous Types [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weekly Link Post 20 &#171; Rhonda Tipton&#8217;s WebLog</title>
		<link>http://www.developingfor.net/c-30/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html/comment-page-1#comment-11</link>
		<dc:creator>Weekly Link Post 20 &#171; Rhonda Tipton&#8217;s WebLog</dc:creator>
		<pubDate>Mon, 17 Dec 2007 01:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.developingfor.net/visual-studio/upgrade-your-c-skills-part-2-compiler-inference-object-initializers-and-anonymous-types.html#comment-11</guid>
		<description>[...] Cochran has posted a great series titled Upgrade your C# Skills. Part 1 ~ Part 2 ~ Part [...]</description>
		<content:encoded><![CDATA[<p>[...] Cochran has posted a great series titled Upgrade your C# Skills. Part 1 ~ Part 2 ~ Part [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
