Hi,

You could also do this by using a single dimension array and use the element number in the way you want to use the variable name. e.g

VB Code:
  1. Dim arrTest() As Integer = {0, 1, 2, 3, 4, 5}
  2.  TextBox1.Text = "3"
  3.  MessageBox.Show(arrtest(Integer.Parse(TextBox1.Text)).ToString)