<?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: Sorting Generic Lists in C#</title>
	<atom:link href="http://www.dijksterhuis.org/sorting-generic-lists/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dijksterhuis.org/sorting-generic-lists/</link>
	<description>Information, news about programming in C#</description>
	<lastBuildDate>Sat, 04 Jun 2011 10:24:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Spencer</title>
		<link>http://www.dijksterhuis.org/sorting-generic-lists/comment-page-1/#comment-3640</link>
		<dc:creator>Spencer</dc:creator>
		<pubDate>Wed, 11 Aug 2010 17:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=427#comment-3640</guid>
		<description>Hi there,

Thanks for these great posts!  

This is a cool way to do the same thing using Extensions:
...
string mystring = &quot;string&quot;;
Console.WriteLine(mystring.Reverse()); //prints &quot;gnirts&quot;
...
public static class Extensions 
{
   public static string Reverse(this string x)
   {
       char[] c = x.ToCharArray();
       Array.Reverse(c);
       return new string(c);
   }
}</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Thanks for these great posts!  </p>
<p>This is a cool way to do the same thing using Extensions:<br />
&#8230;<br />
string mystring = &#8220;string&#8221;;<br />
Console.WriteLine(mystring.Reverse()); //prints &#8220;gnirts&#8221;<br />
&#8230;<br />
public static class Extensions<br />
{<br />
   public static string Reverse(this string x)<br />
   {<br />
       char[] c = x.ToCharArray();<br />
       Array.Reverse(c);<br />
       return new string(c);<br />
   }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jkiley</title>
		<link>http://www.dijksterhuis.org/sorting-generic-lists/comment-page-1/#comment-2467</link>
		<dc:creator>Jkiley</dc:creator>
		<pubDate>Thu, 11 Mar 2010 22:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.dijksterhuis.org/?p=427#comment-2467</guid>
		<description>Thanks!  Finally someone with a simple straightforward example of how to use the IComparer.</description>
		<content:encoded><![CDATA[<p>Thanks!  Finally someone with a simple straightforward example of how to use the IComparer.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

