To read text files, use StreamReader class in C#.Add the name of the file you want to read −StreamReader sr = new StreamReader(hello.txt) ...
確定! 回上一頁