troubleshooting Question

How do I create random numbers and alphanum massively in C#

Avatar of jedistar
jedistarFlag for Singapore asked on
ProgrammingC#
7 Comments1 Solution586 ViewsLast Modified:
Hi guys,

How do i create random dummie records to be written into a file testdb.txt
in this format with delimited |


decimal(10)|smallint(4)|smallint(4)|char(20)|decimal(10)

For example (unsorted):

20330|2  |140|HRR8353904    |1600000104661
3892|39|21|GRG893FEFE|339209230

Basically the decimal(10) can be any number from 1-10 digits and the char(20) can be any alphanumeric in caps, without special characters, up till 20 chars.

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros