As some of you know I am moving to VB.net from VB5. I see that to read and write to text files there are two options
1) Use System.IO.File e.g Filewritealltext ( options...)
or
2) Use Streamwriter e.g Dim ts as StreamWriter( options...)
Are there any differences, apart from syntax, that I should be aware of, e.g speed, memory use, etc. Both appear to do same thing if reading and ariting to text files.