Friday 16 December 2011

how to create random number in c#

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);
       }

No comments:

Post a Comment

Contact Us:

Email:

Vinodkumar434@gmail.com,
vinodtechnosoft@gmail.com

Skype Name:

vinodtechnosoft