Archived
1
0
This commit is contained in:
2025-11-15 20:25:57 +08:00
parent 5478d0ed37
commit bb4a37acc4
99 changed files with 4315 additions and 16 deletions

22
16/Program.cs Normal file
View File

@@ -0,0 +1,22 @@
namespace _16
{
internal class Program
{
private const string FILE_NAME = @"c:\temp\TestFile.txt";
static void Main(string[] args)
{
using (StreamReader sr = new StreamReader(FILE_NAME))
{
try
{
String line;
while ((line = sr.ReadLine()) != null)
{
Console.WriteLine(line);
}
}
catch (Exception e) { Console.WriteLine(e.Message); }
}
}
}
}