You will need to convert your string[]
s into string
s. You can do this easily with the string.Join()
method:
string separator = ", ";string[] mag = new string[] { "hello", "world" };textBoxmag.Text = string.Join(separator, mag);// textBoxmag.Text == "hello, world";