title: Generating certain sequence of numbers with defined ranges
body: <p>How can I use a collection of nested for loops (or any other type) to produce a sequence like this with these variables:</p>
  
  <p><code>length</code> is how many digts to go to<br>
  <code>max</code> is the maximum number<br>
  <code>min</code> is the minimum number</p>
  
  <p>Lets say for this case:</p>
  
  <pre><code>length = 2
  max = 3
  min = 1
  </code></pre>
  
  <p>it would produce:</p>
  
  <pre><code>11
  12
  13
  21
  22
  23
  31
  32
  33
  </code></pre>
  
  <p>This works "ok" for only length = 1, but not really, since I still have annoying 0's at the start </p>
  
  <pre><code>For i = 1 To length
  For ii = 0 To i
  For iii = 1 To 5
  Console.WriteLine(Str(ii) + Str(iii))
  Next
  Next
  Next
  </code></pre>