H
hu
How to figure out a stream is at the End-of-file? In C, just check the FILE*
equals to null. But how to do it in C#?
I know through StreamReader.ReadLine(), I can know when I reach the end of
file. However, this method is not suitable because I do not want to read a
line first... Any comments? Ideas?
Thanks,
HU
equals to null. But how to do it in C#?
I know through StreamReader.ReadLine(), I can know when I reach the end of
file. However, this method is not suitable because I do not want to read a
line first... Any comments? Ideas?
Thanks,
HU