<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Digionix</title>
    <description>The latest articles on DEV Community by Digionix (@digionix).</description>
    <link>https://dev.to/digionix</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F397356%2Fb8141f21-1015-4b21-bc5c-1fbc73a426f4.png</url>
      <title>DEV Community: Digionix</title>
      <link>https://dev.to/digionix</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/digionix"/>
    <language>en</language>
    <item>
      <title>IComparable vs IComparer</title>
      <dc:creator>Digionix</dc:creator>
      <pubDate>Fri, 02 Oct 2020 08:59:03 +0000</pubDate>
      <link>https://dev.to/digionix/icomparable-vs-icomparer-274f</link>
      <guid>https://dev.to/digionix/icomparable-vs-icomparer-274f</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;When doing sorting in C#, you will come across with the interface IComparable and IComparer.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Both of the interfaces are frequently used together, and people often got confused because of its similar name, even though they serve different purposes.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
On this article, I will explain the difference between both of the IComparable and IComparer.&lt;/p&gt;




&lt;p&gt;First, let us dive into the concept of sorting.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Assume that we have a list of integer that we want to sort in an ascending order. &lt;br&gt;
&lt;br&gt;&lt;br&gt;
Since we are using the data type &lt;strong&gt;Int&lt;/strong&gt; and the built in &lt;strong&gt;List&lt;/strong&gt;, we can use the provided &lt;strong&gt;Sort&lt;/strong&gt; method by Microsoft.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Flxwhpwtfyy45alwpd8dg.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Flxwhpwtfyy45alwpd8dg.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which will result to a sorted list: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F78ie52z8hwb17d31hfmt.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F78ie52z8hwb17d31hfmt.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This works because the Sort method knows what it has to sort, which in this case is an Integer number.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;But, what if I want to sort a list that contains user-defined class?&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Let's create a new class called Student, which will contain a name and age of a student.&lt;/p&gt;

&lt;p&gt;Note: The age will be a random integer number between 17 to 50.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fsua74ndd9uqma1qh9q5v.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fsua74ndd9uqma1qh9q5v.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now let's create 6 students and put them into a list of students.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0cjpiz9ako2d9skfsmwv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0cjpiz9ako2d9skfsmwv.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then let's print out the list and sort it by their Age using the built in Sort function.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F5zdq7msy6mdwobva9z1q.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F5zdq7msy6mdwobva9z1q.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8e4r48c96gl1dv51ve2u.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8e4r48c96gl1dv51ve2u.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
We were able to print it, but what's that?&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fctczovdmfqtxcyw0u56t.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fctczovdmfqtxcyw0u56t.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We got an error! "&lt;em&gt;At least one object must implement IComparable&lt;/em&gt;"&lt;/p&gt;

&lt;p&gt;This happens because the sorting algorithm doesn't know how to sort the elements. Which in this case is the Name of the student's class. &lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;IComparable&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To be able to sort it, we will have to implement the IComparable interface into our Student class.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
So let's start by implementing it to our class.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1zzraerpchdhn15fmyai.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1zzraerpchdhn15fmyai.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now because we implemented the interface, we will have to implement its method as well. &lt;/p&gt;

&lt;p&gt;Here we will be overriding the CompareTo method.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
The CompareTo method is used to compare one object with another object of the same type. It will then return an integer that indicates the position of the object in the sort order (precedes, follows, occurs)&lt;br&gt;
&lt;br&gt;&lt;br&gt;
If the current value is bigger than the next value it will return 1, else it will return -1. And if both of the value are the same it will return 0. It works like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1: Swap&lt;/li&gt;
&lt;li&gt;0: Keep&lt;/li&gt;
&lt;li&gt;-1: Don't swap&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
For example, let's say that we have a List of [6,2,10,7,3].&lt;/p&gt;

&lt;p&gt;Then we call the CompareTo method on the list, and it will compare the current item &lt;strong&gt;6&lt;/strong&gt; with the next item &lt;strong&gt;2&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Since 6 is bigger than 2, it will return the value 1. So both of the element will swap.&lt;/p&gt;

&lt;p&gt;The list is now [2,6,10,7,3] and it will repeat the process again until it becomes [2,3,6,7,10].&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Now let's fill in the CompareTo method:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8bw4wvazrj9buhpaejht.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8bw4wvazrj9buhpaejht.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What this does is that, it will compare the current Student age with the next Student age.&lt;/p&gt;

&lt;p&gt;Let's try running the code and see what happens&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1xk8bdrsduwnxqi1y2me.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1xk8bdrsduwnxqi1y2me.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It works! now the students are sorted beautifully based on their age.&lt;/p&gt;

&lt;p&gt;We can also sort it by other data by modifying the CompareTo method. Let's try sorting it by their names now:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fg0hgyebmwv5vxk0ld22k.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fg0hgyebmwv5vxk0ld22k.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which results in:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fre3iuvmjfm4ofb0f3xna.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fre3iuvmjfm4ofb0f3xna.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
All sorted by their names cleanly!&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;IComparer&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Now after understanding how IComparable works, we can go into how IComparer works.&lt;/p&gt;

&lt;p&gt;IComparable allows you to sort on a user-defined class that you have full control in. But, what if you want to apply the sorting in a class you don't have control? Which means you can't change the implementation of the class.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
For example, let's say that we don't have access to modify the student class&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F4imsv8qvg2lyaklmfqqr.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F4imsv8qvg2lyaklmfqqr.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Right now, if we call the sort method, it will sort the student by their names.&lt;/p&gt;

&lt;p&gt;Let's say that we want to sort it by their ages. But since we can't modify the Student class, we won't be able to modify the CompareTo method.&lt;/p&gt;

&lt;p&gt;This is where IComparer comes in. We will have to create a new class that implements the IComparer interface.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Let's start by creating a new class then implement the IComparer interface.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2vfxvncxu8vjvbwnys8g.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2vfxvncxu8vjvbwnys8g.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once we created the new class, we will need to implement its method called Compare.&lt;/p&gt;

&lt;p&gt;The Compare method is used to perform a comparison between two objects with the same type. It will then return a value which will indicate if one object is less than, equal to, or greater than the other object.&lt;br&gt;
&amp;lt;br&lt;br&gt;
This is what it means by the returned value:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Less than zero: x is less than y&lt;/li&gt;
&lt;li&gt;Zero: x equals y&lt;/li&gt;
&lt;li&gt;Greater than zero: x is greater than y&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
For example, let's say that we are comparing between two object 9 and 3.&lt;/p&gt;

&lt;p&gt;When we are comparing it based on x - y, we will compare if 9 is bigger than 3, and since 9 is bigger than 3 it will return 1. &lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
Let's fill in the Compare method now:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F6by44c28bmk7ofg3wyvi.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F6by44c28bmk7ofg3wyvi.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What this is saying is that we will compare the first student's age by the second student's age.&lt;/p&gt;

&lt;p&gt;Then we will have to implement our new StudentComparer class into our sorting method by passing it as parameter:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvoi917jzv7yzybn0if57.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvoi917jzv7yzybn0if57.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now let's print out the result:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fccyvbq7bpd7iv2ocknx0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fccyvbq7bpd7iv2ocknx0.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nice it's sorted by the student age!&lt;br&gt;
&lt;br&gt;&lt;br&gt;
It is sorted in an ascending order. But, what if we want to sort it in a descending order? &lt;/p&gt;

&lt;p&gt;The Compare method can be modified to sort the objects to our liking. In this case its sorted in an ascending order because we are comparing it by x - y. &lt;/p&gt;

&lt;p&gt;If we want to sort it in a descending order we will have to flip it into y - x.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Let's use an example to understand the positioning of x - y.&lt;/p&gt;

&lt;p&gt;Assume that we want to sort a list of [8,5,9,7] in an ascending and descending order.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
When we want to sort in ascending order it will be x - y. This is because when we take the first object 8 (x) and the second object 5 (y), we will compare them and since 8 is bigger it will return 1, which means that it will be swapped (Refer to IComparable rule above).&lt;/p&gt;

&lt;p&gt;Now the list will be [5, 8, 9, 7]. Then we will keep comparing the object with the next object until the list becomes [5,7,8,9].&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
Now when we want to sort it in descending order it will be y - x.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Using the above list, we take the object y which is 5 and object x which is 8. Here we compare them and 5 is less than 8 so we will not swap them. &lt;/p&gt;

&lt;p&gt;The list will stay as [8,5,9,7]. Then for the next comparison it will compare between object y which is 9 and object x which is 8.&lt;br&gt;
9 is bigger than 8 so they will swap.&lt;/p&gt;

&lt;p&gt;New list is now [9,5,8,7]. This comparison will keep repeating until we get a list of [9,8,7,5].&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;br&gt;
Let's try sorting the student age in descending order:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fwo82ocozjhsxo6i6iuqj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fwo82ocozjhsxo6i6iuqj.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Printing out the result:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F3lmccxgygaz1h9k9ov7i.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F3lmccxgygaz1h9k9ov7i.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Great! It is now sorted in an descending order.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Summary&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;So that's how both IComparable and IComparer interface works.&lt;/p&gt;

&lt;p&gt;I hope you are able to understand how they are different from each other, and how to use them.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
Thank you and have a nice day!&lt;/p&gt;

</description>
      <category>csharp</category>
    </item>
  </channel>
</rss>
