The program is written in the programming language C #, is a console application with integrated static class BubbleSort function Run to sort an array of any type that supports the interface IComparable, as well as an auxiliary static class Common, which is a function of counting the run-time sorting initialize a one-dimensional array of random integers or real values \u200b\u200bspecified sorted array testing. The sorting function allows you to easily change the direction of the sort. Wherever it is necessary, there are exceptions and verification comments.
Since the distributions are used, the speed of sorting decreases. If you need a quick fix, you can specify a particular type (int, double, ...).
The project is created in Visual Studio 2010.
No feedback yet