Community

.NET Tip: Sort an ArrayList Using a Custom Comparer Class

(Jay Miller) The Sort() method of the ArrayList class allows you to provide your own comparer. When you provide a comparison object, your Compare() method will be used to compare objects in the ArrayList when sorting. This flexibility allows you to sort by any means that you choose. This example wil

Read More - Register for Free Membership