display array elemetns to text box c#

62

display array elemetns to text box c# -

string separator = ", ";
string[] mag = new string[] { "hello", "world" };

textBoxmag.Text = string.Join(separator, mag);
// textBoxmag.Text == "hello, world";

Comments

Submit
0 Comments