For loop and combo box not working

Whenever i press the equals button, nothing appears in the combo box. I have no idea why it does not work. I get no error messages or anything.

 private void btnEquals_Click(object sender, EventArgs e) { //int length = txtScreen.TextLength; //string input = txtScreen.Text; //char[] characters = input.ToCharArray(); for (int i = 1; i == 5; i++) { cmbTest.Items.Add(i); } } 

by MysteriousAccountant via /r/csharp

Leave a Reply