title: What's does this error mean: Array Bounds cannot appear in type specifier?
body: <p>I keep having this error within a line of my code and I can't seem to fix it.
  Here is my code:</p>
  
  <pre><code>Public Class frmPresentTest
  
  Dim correctAnswer As Double
  Dim i As Int32
  Dim wrongAnswer As Double
  Dim responses As String (((noOfQuestions - 1) + 1) - 1)
  
  Private Sub cmdFinished_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdFinished.Click
      Dim str1 As String = "Correct Answer     Your Answer"
      FindChecked(i)
      Dim num2 As Double = 0
      Dim num3 As Integer = (noOfQuestions - 1)
      Dim num1 As Integer = 0
      Do While (num1 &lt;= num3)
          If (responses(num1) &lt;&gt; "*") Then
              If (responses(num1) = test(num1).correctAnswer) Then
                  num2 = (num2 + correctAnswer)
              Else
                  num2 = (num2 - wrongAnswer)
              End If
          End If
          str1 = New String() {str1 &amp; "            " &amp; test(num1).correctAnswer &amp; "                            " &amp; responses(num1), " "}
          num1 = (num1 + 1)
  
      Loop
      str1 = str1 &amp; " * indicates that you did answer that question "
      str1 = str1 &amp; " Your score is: " &amp; num2.ToString()
      MsgBox(str1, MsgBoxStyle.OkOnly, "Test Results")
      tookTest = True
      TestGen.My.MyProject.Forms.frmTestGen.Show()
      Me.Hide()
  
  End Sub
  
  Public Sub FindChecked(ByRef i As Int32)
  
      If (OptA.Checked) Then
          responses(i) = "A"
      ElseIf (optB.Checked) Then
          responses(i) = "B"
      ElseIf (optC.Checked) Then
          responses(i) = "C"
      ElseIf (optD.Checked) Then
          responses(i) = "D"
      Else
          responses(i) = "*"
      End If
  End Sub
  End Class
  </code></pre>
  
  <p>I keep getting an error on this line of code:</p>
  
  <blockquote>
    <p>Dim responses As String (((noOfQuestions - 1) + 1) - 1)</p>
  </blockquote>
  
  <p>the second left parenthesis before <code>noQuestions</code>.</p>