I want to generate a random number sequence but ...

Aug 23 2020 12:46 AM
I want to generate a random number sequence but ..  I want to be able to change sequence numbers count .
Also I don't need to show something I tryed to find a way to get over comboBox but I failed :( 
Any advise ?? :) 
 
I found something like this it doesn't work  :((  ;
  1. private void button1_Click(object sender, EventArgs e)  
  2. {  
  3.    for (int i = 0; i < 4; i++)  
  4.   {  
  5.      comboBox1.Items.Add(i.ToString("D2"));  
  6.   }  
  7. } 


Answers (7)