CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

C# 2010: Sorting Arrays Part 2

5m 9s
Lno80x80white

LearnNowOnline

LearnNowOnline is an award-winning technical learning company nationally recognized for providing in-depth, real-world content to developers, IT professionals and computer... Read more

Learn about the various options available to you to sort an array. Part 2 of 3.

In this video, we will learn some of the methods used to sort an array. We'll discuss the IComparable interface and how it is used to sort arrays. In part two, we'll look at some more options for sorting an array, such as sorting on multiple fields. You will see how to do this using the IComparer interface. Now that we know how to use the IComparer interface, how can we better utilize it? In part three, you'll learn about a technique to optimize your sorting classes.