<?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: Mapping Enums to Strings and Strings to Enums in .NET</title>
	<atom:link href="http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/</link>
	<description>ASP.NET Developer. ALT.NET Supporter. Pragmatic Programmer. Published Writer.</description>
	<lastBuildDate>Thu, 02 Sep 2010 01:11:40 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James South</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-2348</link>
		<dc:creator>James South</dc:creator>
		<pubDate>Wed, 07 Jul 2010 08:37:40 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-2348</guid>
		<description>Nice post. This proved really useful for mapping enums to to types on a legacy database. Cheers!!</description>
		<content:encoded><![CDATA[<p>Nice post. This proved really useful for mapping enums to to types on a legacy database. Cheers!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AJ</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-2085</link>
		<dc:creator>AJ</dc:creator>
		<pubDate>Sun, 30 May 2010 07:08:18 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-2085</guid>
		<description>What if we have to bind the enum with database? Would it be possible by extending this extension method?</description>
		<content:encoded><![CDATA[<p>What if we have to bind the enum with database? Would it be possible by extending this extension method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Busby SEO Test</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-1000</link>
		<dc:creator>Busby SEO Test</dc:creator>
		<pubDate>Sun, 23 Nov 2008 22:14:23 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-1000</guid>
		<description>kevin, you are great, let me think about this post</description>
		<content:encoded><![CDATA[<p>kevin, you are great, let me think about this post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dang</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-999</link>
		<dc:creator>Dang</dc:creator>
		<pubDate>Tue, 18 Nov 2008 20:10:55 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-999</guid>
		<description>How&#039;s it going dude? Nice post, I&#039;m sure this came in handy with the CEnumLibrary eh ;)</description>
		<content:encoded><![CDATA[<p>How&#8217;s it going dude? Nice post, I&#8217;m sure this came in handy with the CEnumLibrary eh <img src='http://www.kevinwilliampang.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-998</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 20 Sep 2008 18:33:19 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-998</guid>
		<description>Very Swanky-  I&#039;m sticking this in my toolbox class, will definitely come in handy in cleaning up some UI code of mine (specifically radio buttons which choose a value passed as an enum-  Was if/elsing the crap out of it:D )</description>
		<content:encoded><![CDATA[<p>Very Swanky-  I&#8217;m sticking this in my toolbox class, will definitely come in handy in cleaning up some UI code of mine (specifically radio buttons which choose a value passed as an enum-  Was if/elsing the crap out of it:D )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Pang</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-997</link>
		<dc:creator>Kevin Pang</dc:creator>
		<pubDate>Sat, 20 Sep 2008 15:38:46 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-997</guid>
		<description>@Ryan

I&#039;m glad you found it helpful.  

I wish I thought of doing this before too.  Now I&#039;m faced with the question of whether or not to refactor all my old mapping functions to use this. :-P</description>
		<content:encoded><![CDATA[<p>@Ryan</p>
<p>I&#8217;m glad you found it helpful.  </p>
<p>I wish I thought of doing this before too.  Now I&#8217;m faced with the question of whether or not to refactor all my old mapping functions to use this. <img src='http://www.kevinwilliampang.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Farley</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-996</link>
		<dc:creator>Ryan Farley</dc:creator>
		<pubDate>Sat, 20 Sep 2008 15:27:39 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-996</guid>
		<description>Kevin, thanks for posting this. That is quite cool - wish I had thought of doing that before.

-Ryan</description>
		<content:encoded><![CDATA[<p>Kevin, thanks for posting this. That is quite cool &#8211; wish I had thought of doing that before.</p>
<p>-Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-995</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Sat, 20 Sep 2008 11:48:34 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-995</guid>
		<description>thanks for your quick answer. now it&#039;s clear for me!
greets, chris</description>
		<content:encoded><![CDATA[<p>thanks for your quick answer. now it&#8217;s clear for me!<br />
greets, chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Pang</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-994</link>
		<dc:creator>Kevin Pang</dc:creator>
		<pubDate>Sat, 20 Sep 2008 09:29:25 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-994</guid>
		<description>@Christian

Yes, you are correct.  For this simple example using those two functions will suffice.  But if you need to have, say, spaces in your description (which aren&#039;t supported in enums), or just a description that deviates from the enum value at all, then you would need to use another approach.  That is where this implementation comes in handy.</description>
		<content:encoded><![CDATA[<p>@Christian</p>
<p>Yes, you are correct.  For this simple example using those two functions will suffice.  But if you need to have, say, spaces in your description (which aren&#8217;t supported in enums), or just a description that deviates from the enum value at all, then you would need to use another approach.  That is where this implementation comes in handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.kevinwilliampang.com/2008/09/20/mapping-enums-to-strings-and-strings-to-enums-in-net/#comment-993</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Sat, 20 Sep 2008 09:23:11 +0000</pubDate>
		<guid isPermaLink="false">/post/Mapping-Enums-To-Strings-and-Strings-to-Enums-in-NET.aspx#comment-993</guid>
		<description>Hi,
nict post, but one question: your description and enum-values are equal, so why don&#039;t you just use the built-in functions &quot;Enum.ToString()&quot; and &quot;Enum.Parse()&quot;? does this method give you any benefits? 
greets, chris.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
nict post, but one question: your description and enum-values are equal, so why don&#8217;t you just use the built-in functions &quot;Enum.ToString()&quot; and &quot;Enum.Parse()&quot;? does this method give you any benefits?<br />
greets, chris.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
