I am a little confused and can't seem to find the answer to whether or not I need to close a text file once it's been read in by the ReadAllLines method.
All the examples I look at, no one actually closed the text file using this method. I am assuming that ReadAllLines closes the file when it's done...or am I making the wrong assumption here?
Code:
Dim vArray() As String = File.ReadAllLines("C:\MyFile.txt")