Question: Using Visual Studio, - Create a Date class with integer data members for year, month and day. - Include a string data member for the
Using Visual Studio,
- Create a Date class with integer data members for year, month and day.
- Include a string data member for the name of the month.
- Include a method that returns the month name (as a string) as part of the date.
- Separate the day from the year with a comma in that method
- Include appropriate constructors, properties, and methods.
- Override the ToString() method to display the date formatted with slahes (/) separating the month, day and year.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
