コード例 #1
0
        public static void Main(string[] args)
        {
            string date_1 = Console.ReadLine();
            string date_2 = Console.ReadLine();

            var diff = new DateModifier();

            Console.WriteLine(diff.FindDifference(date_1, date_2));
        }
コード例 #2
0
        static void Main(string[] args)
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();

            var diff = new DateModifier();

            Console.WriteLine(diff.FindDifference(firstDate, secondDate));
        }
コード例 #3
0
        static void Main(string[] args)
        {
            var dateOne = Console.ReadLine();
            var dateTwo = Console.ReadLine();

            DateModifier difference = new DateModifier();

            var result = difference.FindDifference(dateOne, dateTwo);

            Console.WriteLine(result);
        }