Have you tried something like this?
System.Random RandNum = new System.Random();
Label1.Text = RandNum.Next(1, 75).ToString();
Label2.Text = RandNum.Next(1, 75).ToString();
Label3.Text = RandNum.Next(1, 75).ToString();
croell wrote:
I already developed a solution but somethimes (not often) it ouputs 2 equal numbers
If you are generating random number there might be a chance that same number can be generated twice. But if you don't want that just store the generated random number in a array and make sure that each element of the array is unique before adding to it, if any number is already present in the array in that case generate a new number. Once you got all the number in the array assign these values to the desired labels.