<?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: Count Items in a C# Enum</title>
	<atom:link href="http://www.csharp411.com/c-count-items-in-an-enum/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/c-count-items-in-an-enum/</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Sat, 24 Jul 2010 01:26:51 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Timm</title>
		<link>http://www.csharp411.com/c-count-items-in-an-enum/comment-page-1/#comment-56</link>
		<dc:creator>Timm</dc:creator>
		<pubDate>Sat, 04 Aug 2007 12:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-count-items-in-an-enum/#comment-56</guid>
		<description>D&#039;oh!  Thanks for the heads-up.

The irony here is that one of the great promises of the Web is its ability to render the platform irrelevant so that it doesn&#039;t really matter what operating system you are using.  While that is mostly true, the dependency has shifted to the browser.  And so now developers (and even novice bloggers) must concern themselves with all the subtle intracies and differences between browsers.  Is that truly progress, or simply shifting papers on the desk?  Sounds like a good subject for a future article.  ;-)</description>
		<content:encoded><![CDATA[<p>D'oh!  Thanks for the heads-up.</p>
<p>The irony here is that one of the great promises of the Web is its ability to render the platform irrelevant so that it doesn't really matter what operating system you are using.  While that is mostly true, the dependency has shifted to the browser.  And so now developers (and even novice bloggers) must concern themselves with all the subtle intracies and differences between browsers.  Is that truly progress, or simply shifting papers on the desk?  Sounds like a good subject for a future article.  <img src='http://www.csharp411.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Cochran</title>
		<link>http://www.csharp411.com/c-count-items-in-an-enum/comment-page-1/#comment-55</link>
		<dc:creator>Joel Cochran</dc:creator>
		<pubDate>Fri, 03 Aug 2007 13:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-count-items-in-an-enum/#comment-55</guid>
		<description>Thanks for the link Timm, I did subscribe. Unfortunately I see no &quot;middle&quot; column.  In fact, I only see the main blog postings column using FireFox.  I opend your site in IE and I can see everything.  Just thought you&#039;d like to know... from the look sof it, FireFox users are missing a lot on your blog!</description>
		<content:encoded><![CDATA[<p>Thanks for the link Timm, I did subscribe. Unfortunately I see no "middle" column.  In fact, I only see the main blog postings column using FireFox.  I opend your site in IE and I can see everything.  Just thought you'd like to know&#8230; from the look sof it, FireFox users are missing a lot on your blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timm</title>
		<link>http://www.csharp411.com/c-count-items-in-an-enum/comment-page-1/#comment-54</link>
		<dc:creator>Timm</dc:creator>
		<pubDate>Fri, 03 Aug 2007 00:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-count-items-in-an-enum/#comment-54</guid>
		<description>Re: Nice Blog, but I can&#039;t find a Feed anywhere…

Thanks!

There is a &quot;Subscribe via RSS&quot; link in the middle column.  You can also go here:

http://feeds.feedburner.com/Devtopics</description>
		<content:encoded><![CDATA[<p>Re: Nice Blog, but I can't find a Feed anywhere…</p>
<p>Thanks!</p>
<p>There is a "Subscribe via RSS" link in the middle column.  You can also go here:</p>
<p><a href="http://feeds.feedburner.com/Devtopics" rel="nofollow">http://feeds.feedburner.com/Devtopics</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Cochran</title>
		<link>http://www.csharp411.com/c-count-items-in-an-enum/comment-page-1/#comment-53</link>
		<dc:creator>Joel Cochran</dc:creator>
		<pubDate>Thu, 02 Aug 2007 15:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-count-items-in-an-enum/#comment-53</guid>
		<description>Enums are very cool but a little annoying to extract information from. I use Enum.GetNames() to populate ComboBoxes.  If I want the value based on the Name, I use Enum.Parse to get an Enum variable and then cast it back into an int. You can see this here http://www.developingfor.net/net-20/finding-an-enum-value-based-on-its-text.html

I can&#039;t say though why GetValues would be any slower than GetNames.  It may be beause GetValues returns an Array object, while GetNames returns an array of strings.  There may be some subtle difference in that distinction that is causing the slow down.

Nice Blog, but I can&#039;t find a Feed anywhere...</description>
		<content:encoded><![CDATA[<p>Enums are very cool but a little annoying to extract information from. I use Enum.GetNames() to populate ComboBoxes.  If I want the value based on the Name, I use Enum.Parse to get an Enum variable and then cast it back into an int. You can see this here <a href="http://www.developingfor.net/net-20/finding-an-enum-value-based-on-its-text.html" rel="nofollow">http://www.developingfor.net/net-20/finding-an-enum-value-based-on-its-text.html</a></p>
<p>I can't say though why GetValues would be any slower than GetNames.  It may be beause GetValues returns an Array object, while GetNames returns an array of strings.  There may be some subtle difference in that distinction that is causing the slow down.</p>
<p>Nice Blog, but I can't find a Feed anywhere&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
