Question: Please write this in C# Visual Studio. Create a New Project Rename the Program class to DateApp Create a New Class O Name it Date

Please write this in C# Visual Studio. Create a New Project RenamePlease write this in C# Visual Studio.

Create a New Project Rename the Program class to DateApp Create a New Class O Name it Date Date Class O Instance variables day as an integer year as an integer monthName as a string o Constructors Create a default constructor Create a constructor that accepts a 3 of the instance variables O Property Members Auto create the Property Members Right-click Select Quick Actions and Refactoring (or Quick Fix) Select encapsulate fields (and use property) o Override the ToString() method so it returns - The month name, day and year Example: March 23,2021 DateApp class 0 Remove the Hello World output (if it exists) o Create a new Date object using the default constructor O Create a method named AskForInput that accepts a string and returns a string o Use that method to get the user input for the Month Name, day, and year. o Use the ToString() method to print out the date See example below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!