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

            Console.WriteLine(DateModifierClass.Difference(firstDate, secondDate));
        }
コード例 #2
0
        static void Main(string[] args)
        {
            string startDate = Console.ReadLine();
            string endDate   = Console.ReadLine();

            DateModifierClass dateModifier = new DateModifierClass();

            Console.WriteLine(dateModifier.CalculateDaysDifference(startDate, endDate));
        }