private void button1_Click(object sender, EventArgs e) { string[] input = AlgorithmHelper.ConvertCommaSeparetedStringToStringArray(this.textBox3.Text); string output = FindLongestWordMadeofotherwords(input); this.textBox1.Text = output; }