Esempio n. 1
0
        static void Main(string[] args)
        {
            //MyTD T1 = new MyTD("MAC_LabWork_1_3_2020_3k_113_v00.bin", "binary file");
            //string txt = $"\r\n Count of rows: {T1.Length,0}";
            //txt += T1.ToPrint("  *.bin file processing ");
            //Console.WriteLine(txt);

            //MyTD T2 = new MyTD("MAC_LabWork_1_3_2020_3k_113_v00.txt", "txt file");
            //txt = $"\r\n\r\n\r\n Count of rows: {T2.Length,0}";
            //txt += T2.ToPrint("  *.txts file processing ");
            //Console.WriteLine(txt);

            MyTD   T1  = new MyTD("MAC_LabWork_1_3_2020_3k_113_v02.bin", "binary file");
            string txt = $"\r\n Count of rows: {T1.Length,0}";

            txt += T1.ToPrint("  *.bin file processing ");
            Console.WriteLine(txt);

            MyTD T2 = new MyTD("MAC_LabWork_1_3_2020_3k_113_v02.txt", "txt file");

            txt  = $"\r\n\r\n\r\n Count of rows: {T2.Length,0}";
            txt += T2.ToPrint("  *.txts file processing ");
            Console.WriteLine(txt);

            T1.To_txt_File("Test_LW_1_3_bin.txt", "New result's form");

            T2.To_txt_File("Test_LW_1_3_txt.txt", "New result's form");
        }