algorithm of generating unique random numbers like in mobile recharge coupons

Posted by ALOK under ASP.NET on 4/16/2013 | Points: 10 | Views : 3798 | Status : [Member] | Replies : 3
I need an algorithm to generate unique random number of 12 digits just like recharge coupon,
if any one have idea how to implement this in c#.net.

Thanks & Regards,
Alokssm



Responses

Posted by: Learningtorise on: 4/16/2013 [Member] Starter | Points: 25

Up
0
Down
http://www.dotnetfunda.com/forums/thread14228-how-to-generate-random-number-quickly.aspx

http://hashtagakash.wordpress.com/

ALOK, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: ALOK on: 4/16/2013 [Member] Starter | Points: 25

Up
0
Down
i need only integer values of 12 digit only

Thanks & Regards,
Alokssm

ALOK, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Learningtorise on: 4/16/2013 [Member] Starter | Points: 25

Up
0
Down
Use Random Class to generate random Numbers.

www.dotnetperls.com/random



http://hashtagakash.wordpress.com/

ALOK, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response