コード例 #1
0
        static void Main(string[] args)
        {
            int[]    sartStr = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int[]    endStr  = Console.ReadLine().Split().Select(int.Parse).ToArray();
            DateTime start   = new DateTime(sartStr[0], sartStr[1], sartStr[2]);
            DateTime end     = new DateTime(endStr[0], endStr[1], endStr[2]);

            Console.WriteLine(DateModifier.CalculatesTheDifference(start, end));
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: Lockwarr/Softuni-Projects
        static void Main(string[] args)

        {
            string date1 = Console.ReadLine();

            string date2 = Console.ReadLine();



            DateModifier.DatesDifference(date1, date2);
        }