Random random = new Random(); int randomNumber = random.Next(1001, 9999); // your text name txtNumber.Text = randomNumber.ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)