static void Main(string[] args) { List <int> numbers = new List <int>(); Random objR = new Random(); MergeSort objMS = new MergeSort(); for (int i = 0; i < 10; i++) { numbers.Add(objR.Next(1, 15)); } for (int i = 0; i < 10; i++) { Console.WriteLine(objMS.ComputeMergeSort(numbers)[i]); } Console.ReadLine(); }