1 for (int i = 0; i < LB.Items.Count;i++ )2 {3 str_arr.Add(LB.Items[i].ToString()); 4 }
1 string str=LB.Items[i].ToString();
1 string str= LB.SelectedItem.ToString();