如何确定文本文件的大小?
我知道我可以只计算字符数,但文件将有几 MB 大。
Dim myFile As New FileInfo("file.txt") Dim sizeInBytes As Long = myFile.Length