List
liabList.Sort(delegate(Liability l1, Liability l2)
{ int r = l1.Type.CompareTo(l2.Type);
if (r == 0 && l1.HolderName != null)
r = l1.HolderName.CompareTo(l2.HolderName);
if (r == 0)
r = l1.Amount.CompareTo(l2.Amount);
return r;
} );
Blogs on code snippets and tools that every .NET developer would need to have on fingerTips...
2 comments:
you sir, are a genius. thank you
very much. jim hudson
I wll agree with homerhudson. Absolutely brilliant!
Post a Comment