Wednesday, September 17, 2008

e-bday cake to gift to your nearer and dearer

Hi all,
This is the link thru which you can show your skills to decorate cake and send it to your friends and family member.
http://www.theoworlds.com/birthday/
I hope you like this.
Thanks.

C# Alphanumeric sorting

Hi all,
In my previous project the requirement is to sort alphanumeric order.
Normally its treated as String so in string "20" is less than "19" and that was an issue.
But then after a long searching i find the very good solution in the C# only and its very easy also.
C# has the interfaces that you can implement in your classes and then create custom methods for that.
This is the solution:
--------------------
1) Implement IComparer interface in your class and use its Compare() to generalize your code for the sorting.
2) if you want to see sample compare() method and here is the link:
http://dotnetperls.com/Content/Alphanumeric-Sorting.aspx
If you have any suggestion then you can post it.
Thanks.