title: How to get an array to display all its values at once
body: <p>Here is some sample code:</p>
  
  <pre><code>Dim arrValue(3) as Integer
  arrValue(0) = 5
  arrValue(1) = 4
  arrValue(2) = 7
  arrValue(3) = 1
  </code></pre>
  
  <p>How can I display those four values next to each other.</p>
  
  <p>More specifically, given those values how can I make txtValue.Text = 5471</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>The idea I had would be to use some sort of function to append each one to the end using a loop like this:</p>
  
  <pre><code>Dim finalValue
  For i As Integer = 3 To 0 Step -1
      arrValue(i).appendTo.finalValue
  Next
  </code></pre>
  
  <p>Obviously that code wouldn't work though the premise is sound I don't know the syntax for appending things and I'm sure I wouldn't be able to append an Integer anyway, I would need to convert each individual value to a string first.</p>