title: New to VB.NET - "Expected end of statement" error
body: <p>I'm simply trying to create an array of integers:</p>
  
  <pre><code>Dim amenities() as Integer
  amenities=New Integer(){1,2,3,4,5}
  </code></pre>
  
  <p>And I'm getting this error:</p>
  
  <p><strong>Expected end of statement</strong></p>
  
  <p><strong>Dim amenities() as Integer</strong></p>
  
  <p><strong>-----------------------^</strong></p>
  
  <p>It says the error is happening on "as", but I have no idea what I'm doing wrong. I feel stupid asking, but I'm stuck.</p>