It is necessary to display all the numbers from the ListBox in the Label. How do I do multiple checks?
int index = listBox1.SelectedIndex; string str = (string)listBox1.Items[index]; int len = str.Length; int i = 0; while (i < len) { if (str[i] == //Здесь должны быть несколько вариантов для проверки, как: '1', '2', и т.д. }
Contains, or LINQAny. - EvgeniyZ