예제 #1
0
 private void btnMergeSort_Click(object sender, EventArgs e)
 {
     int[] array = SearchForm.ConvertToIntArray(txtArray.Text.Split(','));
     array          = MergeSort(array, 0, Convert.ToInt32(txtArrayLength.Text) - 1);
     txtResult.Text = String.Join(", ", array);
 }