Any help would be appreciated!
Im new to C# and im going crazy trying to figure out a simple way to create a 4-digit non-repeating random number for a number guessing game. If anyone can help with the code I already have I would be grateful.

Heres what I have:

Code:
private void form1_Load(object sender, System.EventArgs e)
        {
string answer;
            
//Creates random number array

String[] myNumbers={"0","1","2","3","4","5","6","7","8","9"};
Random rndNumbers=new Random();
I dont know what kind of loop make from here, and then I dont understand how to put the random number into a string

Please help