I'm new in C#, and I'm trying to show an array in a textbox using window forms.
The problem is that when I give the command txtTela.Text = tela.ToString();, the program compiles successfully, but the result in the textbox is "System.String[]", and not the string that I'd like to show.
Image of what is printed in the textbox: https://snag.gy/L34bfM.jpg
public String[] comboPalavra;
public String []tela = new String[1];
public Form1()
{
InitializeComponent();
comboPalavra = embaralhaPalavra.CarregaPalavra();//Recebe uma palavra e uma dica
//MessageBox.Show(comboPalavra[0]);
foreach(char element in comboPalavra[0])
{
this.tela[0] = tela + "#";
}
txtTela.Text = tela.ToString();
txtDica.Text = comboPalavra[1].ToString();
}