Question: IN C# PLEASE Create the class RCDate which will have the given elements: 1. The date will be an unsigned 32bit integer of the form:
IN C# PLEASE
Create the class RCDate which will have the given elements: 1. The date will be an unsigned 32bit integer of the form: YYYYMMDD. Initial value will be 0 for the date. 2. You will have properties to set and get the year, month, and day. Handle attempts to set bad values in a professional manner (i.e. exceptions) 3. You will create a method: GetStringDate that will return the date as a string. So, if the date is 20221004, the method will return the string: 10/04/2022. 4. A NextDate method which will add one day to the recorded date.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
