VB.NET: Get Random Figure Patterns

A lot of times I need to generate random patterns for the projects I'm developing, like when I'm generating data for a testing engine, etc. I have written a generic function which takes care of generating Random Patterns from 1 to specified numbers and returns the Pattern in an Integer Array.

Hope this will be of use for you.
Thanks & Regards
Please rate this tip if found useful.
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.