private void button1_Click(object sender, EventArgs e) { List <int> list = ClassConvert.StrToList <int>(InputListtextBox1.Text); ClassList changedlist = new ClassList(list); List <int> newlist = changedlist.Process(); OutputListlabel.Text = ClassConvert.ListToStr(newlist, " "); }