I am a beginner so don't go into to much detail if you can. I want to be able to click a button and a message box to show and gather text from 2 listbox. For example if listbox 1 has the name 'Dean' in it and listbox 2 has the name 'Stowers' in it I want the click to show a message box saying 'Dean Stowers'. I can only get text from one box to show, I have no idea who to get it to show both. Here is my code for showing text from one listbox
private void button1_Click(object sender, EventArgs e)
{
foreach (object obj in listboxname.Items)
{
MessageBox.Show(obj.ToString());
}
}