i make a string array and want to show in message box,but it does not working properly
Help Me what is wrong
private void btnarray_Click(object sender, EventArgs e)
{
string[] myname = new string[2];
myname[0] = "Shahid";
myname[1] = "Hussain";
MessageBox.Show(myname.ToString());
}
when message box show error show
Error is "System.string[]"
But it does not show myname one by one
YousafC#