O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Special Array Techniques

This section introduces some supplementary techniques for solving problems often encountered when working with arrays. In particular, this section

  • Presents a sorting program based on a famous sorting algorithm called Bubble Sort

  • Compares the speed of the Bubble Sort program with that of the sorting program found in the .NET Framework

  • Introduces a couple of algorithms to search for a particular value in an array

  • Compares the speed of our implementation with that of the search method found in the .NET Framework

Sorting

The next couple sections introduce you to the simple bubble sort algorithm and compares its speed to the much faster, built-in sorting program found in the .NET Framework.

Presenting Bubble Sort

With the simple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required