Generating the random numbers using C#
Posted on 2006-11-22
Can you please provide me the working code in C# to generate the random numbers for the following requirements:
1) The Random numbers will have only Alphanumeric values (1,2,3,A,B,c...etc).
2) The function should accept the precision. i.e how much will be the length of the random numbers.
3) The function should accept the input for the count. For example if I input 3 with precision 8. The the code should generate three random numbers, each of length 8.
4) The output should be in the format: Number 1: ABCDEFGH, Number 2:ZZZZZZZ and so on
How can I do this?
Thanks for the help.