Example #1
0
        public static void Main(string[] args)
        {
            string firstDate  = Console.ReadLine();
            string secondDate = Console.ReadLine();

            Console.WriteLine(DateModifier.Difference(firstDate, secondDate));
        }
Example #2
0
        public static void Main()
        {
            string       firstDate  = Console.ReadLine();
            string       secondDate = Console.ReadLine();
            DateModifier date       = new DateModifier();

            Console.WriteLine(date.Difference(firstDate, secondDate));
        }
Example #3
0
        static void Main(string[] args)
        {
            var date1 = Console.ReadLine();
            var date2 = Console.ReadLine();

            DateModifier x = new DateModifier(date1, date2);

            Console.WriteLine(x.Difference());
        }
Example #4
0
        static void Main(string[] args)
        {
            string       first_input  = Console.ReadLine();
            string       second_input = Console.ReadLine();
            DateModifier firstDate    = new DateModifier(first_input);
            DateModifier secondDate   = new DateModifier(second_input);

            Console.WriteLine(DateModifier.Difference(first_input, second_input));
        }
Example #5
0
        public static void Main()
        {
            var firstDate  = Console.ReadLine();
            var secondDate = Console.ReadLine();

            var days   = new DateModifier();
            int answer = days.Difference(firstDate, secondDate);

            Console.WriteLine(answer);
        }