Wednesday, October 25, 2017

Sorting an array using an independent Comparer method

Oct. 25, 2017

Introduction


One apple a day, keep doctor away. One program a day, also keep programmer awake. Today a small program keeps me awake to look into a few things, IComparer vs IComparable. 

I like to share my practice using C# 2000 things, item 137: Sorting an array using an independent Comparer method.

Here is the C# code.

Read the code and enjoy the workout.

No comments:

Post a Comment