Question: Please solve the problem using C# language Creating a Date class: Date Class Fields - year : int - month : int - day :
Please solve the problem using C# language
Creating a Date class:
| Date Class |
| Fields |
| - year : int - month : int - day : int |
| Methods |
| + constructor Date( day : int = 1, month : int = 1, year : int = 2020) + ToString() : string + Add(days : int) : void + Add(month : int, days : int) : void + Add(other : Date) : void - Normalize() : void Description of field members:
Description of constructor:
Description of action members:
In your main method write the code to do the following:
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
