Explicitcoder

Divyang's ICollection

Exntetion method for IComparable

extention method for IComparable<T>

hello friends,  C# 3.0 gives great feature of extension method. so i keep playing with this. today  I would like to show you something interesting way to use that extension method. This time it’s extending IComparable. The API signature for IComparable has been around since the birth of  C language . If the left is less than the right, return…