Dear Friends..
Here i'm writing code to generate random number of five digit.
public int getRandomID ()
{
Random r = new Random();
return r.Next(10000,99999);
}
Here i'm writing code to generate random number of five digit.
public int getRandomID ()
{
Random r = new Random();
return r.Next(10000,99999);
}
No comments:
Post a Comment