Question: please write the code in C# thanks! The following table shows the information of five facilities in a community Opening time (hour: minute 07:00 09:00

 please write the code in C# thanks! The following table shows

please write the code in C# thanks!

The following table shows the information of five facilities in a community Opening time (hour: minute 07:00 09:00 01:00 06:00 08:00 Closing time (hour: minute) 22:00 18:00 23:59 21:00 17:30 Identification Type Pool Tennis court Pool Pool Tennis court Design and develop a C# project that satisfies the following requirements: 1. Two classes shall be created for each type of facility: Tennis Court, and Pool 2. Pool has a public statie data member pool count (of type int), which keeps track of the total number of pools 3. Tennis Court has a public static data member tennis court count (of type int), which keeps track of the total number of tennis courts 4. Each pool (and tennis court) has an opening time and a closing time. Opening time and closing time are object of the class Time 6. The driver shall perform the following tasks in the order specified a. Initialize the static members pool_count and tennis_court_count to 0, and display them b. Instantiate the five objects listed in the table c. Display the values of pool count, and tennis_court_count. d. Display each facility's identification, type, opening time and closing time using ToString0 functions

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!