you could use this:

vb Code:
  1. Dim lines() As String = IO.File.ReadAllLines("yourfile.dat")
  2. Dim names(lines.GetUpperBound(0), 1) As String
  3. Dim answers As String = lines(0)
  4. For x As Integer = 1 To lines.GetUpperBound(0)
  5.       Dim correct As Integer = 0
  6.       names(x, 0) = lines(x).Substring(answers.Length)
  7.       For z As Integer = 0 To answers.Length - 1
  8.            If lines(x).Substring(z, 1) = answers.Substring(z, 1) Then
  9.               correct += 1
  10.            End If
  11.       Next
  12.       names(x, 1) = CStr(correct)
  13. Next