Beispiel #1
0
        static void Main(string[] args)
        {
            January j1 = new January();

            Console.WriteLine($"This month is {j1.SequenceOfMonth()}th month of the year and has {j1.DaysOfAMonth()} days and one day has {j1.HoursOfADay()} hours");
            February f1 = new February();

            Console.WriteLine($"This month is {f1.SequenceOfMonth()}th month of the year and has {f1.DaysOfAMonth()} days");
        }