Assuming I am interested only in dealing with text files, what specific advantages or disadvantages does System.IO.File methods provide when compared to StreamWriter?
Are there any performance factors involved? What is the basic difference, and which of these should be used in what cases?
One more question, If i want to read the contents of a file into a string and run a LINQ query over it, which is best?