<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Object and Collection Initializers - Day 2 - Part 7</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/ch9/1482/276d182a-bd7a-4ac7-8bc7-9e1701681482/day02part7_100_ch9.jpg</url>
		<title>Channel 9 - Object and Collection Initializers - Day 2 - Part 7</title>
		<link></link>
	</image>
	<description> Since C# 3.0, a new, shortened syntax used to create an instance of a new class and set its properties (initialization) all in one line of code became popularized. Entire collections can be created and initialized in this manner as well. Since many code examples on MSDN and the Internet at large use this new syntax, and because it is very convenient, Bob demonstrates how to dramatically shorten your code while explaining how to understand object and collection initializers. Download the source code in c# Download the source code in VB.Net </description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 22:56:40 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 22:56:40 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Object and Collection Initializers - Day 2 - Part 7</title>
		<description>
			<![CDATA[ <p>Great video, always good to use less lines of code. Less is more, as they say</p><p>posted by Mintydog</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers#c634271399320000000</link>
		<pubDate>Sun, 05 Dec 2010 09:58:52 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers#c634271399320000000</guid>
		<dc:creator>Mintydog</dc:creator>
	</item>
	<item>
		<title>Re: Object and Collection Initializers - Day 2 - Part 7</title>
		<description>
			<![CDATA[ <p>The second shortened code example only does not show anything in the textblock when the button is clicked... the last code example works perfectly... </p><p>I tried to see what the error is but I didn't see anything wrong and this was no bugs so... </p><p><pre class="brush: text">List&lt;Car&gt; myList = new List&lt;Car&gt;();
                Car car1 = new Car() { Make = &quot;Oldsmobile&quot;, Model = &quot;Cutlas Supreme&quot; };
               Car car2 = new Car() { Make = &quot;Geo&quot;, Model = &quot;Prism&quot; };
               Car car3 = new Car() { Make = &quot;Nissan&quot;, Model = &quot;Altima&quot; };</pre></p><p>posted by Xtianus</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers#c634313600610000000</link>
		<pubDate>Sun, 23 Jan 2011 06:14:21 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers#c634313600610000000</guid>
		<dc:creator>Xtianus</dc:creator>
	</item>
	<item>
		<title>Re: Object and Collection Initializers - Day 2 - Part 7</title>
		<description>
			<![CDATA[@Xtianus:<br />this is because you still need to add the cars to the list:<br /><br />&nbsp;<br />myList.Add(car1);myList.Add(car2);myList.Add(car3);<br /><br />&nbsp;<br /><br />&nbsp;<br />&nbsp;<p>posted by markvb</p>]]>
		</description>
		<link>http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers#c634332040320000000</link>
		<pubDate>Sun, 13 Feb 2011 14:27:12 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners/Object-and-Collection-Initializers#c634332040320000000</guid>
		<dc:creator>markvb</dc:creator>
	</item>
</channel>
</rss>