<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Extending yourself&#8230;</title>
	<atom:link href="http://neofight.wordpress.com/2008/03/20/extending-yourself/feed/" rel="self" type="application/rss+xml" />
	<link>http://neofight.wordpress.com/2008/03/20/extending-yourself/</link>
	<description>The constant battle of learning that you have more to learn</description>
	<lastBuildDate>Fri, 08 May 2009 18:27:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Miles Thompson</title>
		<link>http://neofight.wordpress.com/2008/03/20/extending-yourself/#comment-18</link>
		<dc:creator>Miles Thompson</dc:creator>
		<pubDate>Mon, 19 May 2008 21:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=16#comment-18</guid>
		<description>Extension methods are indeed neat. And this is a clear example, but in this case I think overkill.

With .Net 3.5 compilation enabled, and this extension method defined, one can get the string valued &#039;name&#039; of an enum, thus..

role.GetName();

On the other hand back in 2.0 world we managed to get by with..

role.ToString();

Which I think you&#039;ll find produces the exact same output.</description>
		<content:encoded><![CDATA[<p>Extension methods are indeed neat. And this is a clear example, but in this case I think overkill.</p>
<p>With .Net 3.5 compilation enabled, and this extension method defined, one can get the string valued &#8216;name&#8217; of an enum, thus..</p>
<p>role.GetName();</p>
<p>On the other hand back in 2.0 world we managed to get by with..</p>
<p>role.ToString();</p>
<p>Which I think you&#8217;ll find produces the exact same output.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
