What do you want to save?
Add Code snippet
New code examples
-
-
C# 2021-11-17 06:33:11
c# read from file line by line
int counter = 0; string line; // Read the file and display it line by line. System.IO.StreamReader file = new System.IO.StreamReader(@"c:\test.txt"); while((line = file.ReadLine()) != null) { System.Console.WriteLine(line)... Add solution -
C# 2021-11-15 09:39:38
how to read particular line of file in c#
int counter = 0; string line; // Read the file and display it line by line. System.IO.StreamReader file = new System.IO.StreamReader(@"c:\test.txt"); while((line = file.ReadLine()) != null) { System.Console.WriteLine(line)... Add solution