我申请与档案一起工作。 它需要同时处理档案。 我正在使用<代码>ArrayList储存数据。 这部法律造成了问题:
Dim fileData As ArrayList = Nothing
Dim temp As Char = Nothing
While Not EOF(open_file_number)
Input(open_file_number, temp)
fileData.Add(temp)
End While
The line of code that is throwing the Null Reference Exception is where I (attempt to) assign the value of temp
to a new element in the fileData ArrayList
. Anybody have an idea of what s going on here? Thanks