Generating Random Numbers
Momodou Jarju
Select an image from your device to upload
To keep it simple, the following can be used:
random.Next(100, 999);
But, the random number can be repeated. So, prior to conformation of the random number, it needs to be checked whether similar entry has been saved earlier or not. If there is one, it should again create a random number, until its unique. Then, it can be saved and exited.