Line separation / Line break in a listbox
问题 I want to display 2 sets of data on the one list box, for example, I would wont to display the 7 times table and the 8 times table on the same listbox. Here is how I get the first set of data displaying: int awnser = 0; int z; z = int.Parse(textBox1.Text); for (int i = 0; i < 11; i++) { awnser = z * i; listBox6.Items.Add(z + " * " + i + " = " + awnser.ToString()); } But how do I get a line break or separation so I can put the 8 times table just underneath? 回答1: How about this? EDIT Insert it