<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx</link><description>C# Trivia Quiz Part 1 I did warn you that these would be trivial. Here are the answers: Language Details 1) How many loop constructs does C# have, and what are they? Four: for, foreach, while, do Or, perhaps, that's only two, given that for and foreach</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571015</link><pubDate>Fri, 07 Apr 2006 22:06:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571015</guid><dc:creator>David Grant</dc:creator><description>Was the term &amp;quot;COM99&amp;quot; before or after &amp;quot;NGWS&amp;quot; ?</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571034</link><pubDate>Fri, 07 Apr 2006 22:22:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571034</guid><dc:creator>Matt Davis</dc:creator><description>I had fun with this one... I had a few different answers to some things though...&lt;br&gt;&lt;br&gt;1) Isn't the answer 5 (counting goto)?&lt;br&gt;&lt;br&gt;2) Aren't there some special runtime cases (eg remoting, COM interop and P/Invoke arg marshaling) that don't require that the caller's current value be marshaled to the callee in the case of &amp;quot;out&amp;quot;?&lt;br&gt;&lt;br&gt;4) The Java vs C# religious flame-war that first came to my mind was Java's &amp;quot;virtual by default&amp;quot; behavior (checked exceptions was right behind).&lt;br&gt;&lt;br&gt;Thanks for the trivia- always fun!</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571060</link><pubDate>Fri, 07 Apr 2006 23:06:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571060</guid><dc:creator>KJK::Hyperion</dc:creator><description>What about &amp;quot;COM+ Runtime&amp;quot; (the still ubiquitous &amp;quot;Cor&amp;quot;)? and &amp;quot;COM+ 2.0&amp;quot; (which was used to describe the extensions to the PE format)? did they come before or after NGWS?</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571068</link><pubDate>Fri, 07 Apr 2006 23:20:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571068</guid><dc:creator>kfarmer@microsoft.com</dc:creator><description>Actually, the language design meetings I've been to were in a small conference room on the second floor of building *41*.</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571078</link><pubDate>Fri, 07 Apr 2006 23:35:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571078</guid><dc:creator>ericgu</dc:creator><description>David, KJK:&lt;br&gt;&lt;br&gt;There was COM99, COM+, COM 2.0, but IIRC they didn't refer to the whole system the way NGWS did.&lt;br&gt;&lt;br&gt;Matt:&lt;br&gt;&lt;br&gt;1) Goto is not a loop construct. You can use it for loops, but it's more general-purpose.&lt;br&gt;2) With interop, the compiler trusts that your definition is trustworthy, but you can lie.&lt;br&gt;4) Yes, that's a good one, too.&lt;br&gt;&lt;br&gt;KFarmer,&lt;br&gt;&lt;br&gt;Shhh!!! Now the protesters will now which building to show up at!</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571080</link><pubDate>Fri, 07 Apr 2006 23:37:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571080</guid><dc:creator>Gabriel Lozano-Morán</dc:creator><description>Actually .NET has grown from COM+ 2.5, ASP 4.0 and NGWS. COM+ 2.0 was introduced in W2K as the successor of COM+ 1.0.</description></item><item><title>C# Trivia Quiz</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571234</link><pubDate>Sat, 08 Apr 2006 03:15:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571234</guid><dc:creator>Javier G. Lozano</dc:creator><description /></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#571541</link><pubDate>Sat, 08 Apr 2006 18:15:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:571541</guid><dc:creator>Gabriel Lozano-Morán</dc:creator><description>I have read it somewhere in an interview can't remember who it was, someone from the CLR team...</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#572123</link><pubDate>Mon, 10 Apr 2006 04:34:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:572123</guid><dc:creator>Miral</dc:creator><description>If you're going to eliminate &amp;quot;foreach&amp;quot; and &amp;quot;do&amp;quot; because of similarity to &amp;quot;for&amp;quot; and &amp;quot;while&amp;quot;, then you have to eliminate &amp;quot;for&amp;quot; for the same reason, leaving only a single loop construct. &amp;nbsp;It's possible to write everything using only &amp;quot;while&amp;quot;s, though it looks a bit ugly in some cases :)&lt;br&gt;&lt;br&gt;And the default indexer is called &amp;quot;Item&amp;quot;, not &amp;quot;Items&amp;quot;. &amp;nbsp;Presumably so that you can go someCollection.Item(&amp;quot;foo&amp;quot;), which sounds a little more natural than someCollection.Items(&amp;quot;foo&amp;quot;).</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#572834</link><pubDate>Tue, 11 Apr 2006 01:20:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:572834</guid><dc:creator>Leon</dc:creator><description>'you might want to call it &amp;quot;Characters&amp;quot;. Or, perhaps &amp;quot;DramatisPersona&amp;quot;...'&lt;br&gt;good one.&lt;br&gt;&lt;br&gt;&amp;quot;Actually, the language design meetings I've been to were in a small conference room on the second floor of building *41*.&amp;quot;&lt;br&gt;&lt;br&gt;... and the only other people in those meetings were the janitor and your secretary's cat? I'm afraid your invitations might have been tampered with KJK.&lt;br&gt;&lt;br&gt;</description></item><item><title>Ellis Web &amp;raquo; Items of Interest: 2006.04.11</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#573208</link><pubDate>Tue, 11 Apr 2006 12:12:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:573208</guid><dc:creator>Ellis Web » Items of Interest: 2006.04.11</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://www.ellisweb.net/2006/04/items-of-interest-20060411/"&gt;http://www.ellisweb.net/2006/04/items-of-interest-20060411/&lt;/a&gt;</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#578325</link><pubDate>Tue, 18 Apr 2006 18:59:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578325</guid><dc:creator>Olivier le Pichon</dc:creator><description>What about Omniware for a pre .NET name? Colusa have been bought by Microsoft in 1996 and I think COM97 was the first MS name.</description></item><item><title>re: C# Trivia Quiz Part 1 - Answers</title><link>http://blogs.msdn.com/ericgu/archive/2006/04/07/570945.aspx#578336</link><pubDate>Tue, 18 Apr 2006 19:12:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:578336</guid><dc:creator>Olivier Le Pichon</dc:creator><description>Mary Kirkland spoke about COM+ in volume 12 number 12 of MSJ (December 1997) but it's only because the shift to ORE (Omniware Runtime Environment ) was not done?&lt;br&gt;</description></item></channel></rss>