private void btnBubble_Click(object sender, EventArgs e) { int[] arregloR = mo.bubbleSort(randomVal()); richTextBox2.Clear(); richTextBox2.Text = string.Join("\n", arregloR); }