I am making a random number generator but i cant get it to work. it says cannot convert type int to System.Windows.Forms.Label
private void button1_Click(obj
Of course you ain't gonna assign integer to label..
You have to set the text property of the label
abc.Text = r1.Next(b).ToString();