Program.cs 724 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System;
  3. using System.Diagnostics;
  4. using System.IO;
  5. using System.Threading.Tasks;
  6. using System.Text;
  7. using System.Collections.Generic;
  8. namespace Examen31P_LebedevaAF
  9. {
  10. public class Program
  11. {
  12. public static void Main()
  13. {
  14. Debugg d = new Debugg();
  15. d.DebTr();
  16. Brak B = new Brak();
  17. Console.WriteLine("Вывод информации из файла:");
  18. string path = "data.txt";
  19. var m = File.ReadAllLines(path);
  20. for (int i = 0; i < m.Length; i++)
  21. {
  22. Console.WriteLine(m[i]);
  23. }
  24. Console.WriteLine();
  25. }
  26. }
  27. }