<?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"
	>
<channel>
	<title>Comments on: Switch Statement in C#</title>
	<atom:link href="http://www.victorchen.info/switch-statement-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.victorchen.info/switch-statement-in-c/</link>
	<description>An array of C#, PHP, and HTML programming articles, tutorials, and resources</description>
	<pubDate>Wed, 19 Nov 2008 23:57:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: marvin</title>
		<link>http://www.victorchen.info/switch-statement-in-c/#comment-2644</link>
		<dc:creator>marvin</dc:creator>
		<pubDate>Tue, 29 Jul 2008 04:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=60#comment-2644</guid>
		<description>bading</description>
		<content:encoded><![CDATA[<p>bading</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Chen</title>
		<link>http://www.victorchen.info/switch-statement-in-c/#comment-2408</link>
		<dc:creator>Victor Chen</dc:creator>
		<pubDate>Tue, 08 Jul 2008 16:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=60#comment-2408</guid>
		<description>Trevor - Thanks for the link. I didn't realize it and will keep that in mind the next time I have a large set.</description>
		<content:encoded><![CDATA[<p>Trevor - Thanks for the link. I didn&#8217;t realize it and will keep that in mind the next time I have a large set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://www.victorchen.info/switch-statement-in-c/#comment-2402</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Mon, 07 Jul 2008 16:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.victorchen.info/?p=60#comment-2402</guid>
		<description>It is definitely more efficient than a if/if-else statement, but it is not always one comparison, i.e. O(1).  The compiler will optimize the code, but with large sets it's sometimes O(n) operations.

http://forums.msdn.microsoft.com/en/csharpgeneral/thread/416b4f5d-792d-4128-9491-70defa7a97d8/</description>
		<content:encoded><![CDATA[<p>It is definitely more efficient than a if/if-else statement, but it is not always one comparison, i.e. O(1).  The compiler will optimize the code, but with large sets it&#8217;s sometimes O(n) operations.</p>
<p><a href="http://forums.msdn.microsoft.com/en/csharpgeneral/thread/416b4f5d-792d-4128-9491-70defa7a97d8/" rel="nofollow">http://forums.msdn.microsoft.com/en/csharpgeneral/thread/416b4f5d-792d-4128-9491-70defa7a97d8/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
