• You are required to document, test and refactor an existing application.
You will be given a copy of an existing C# application which is responsible for taking bookings for a hospital system, this application is badly in need of refactoring and even a casual viewing of the source code reveals many examples of the “code smells” talked about in Fowler’s book.
The base application consists of three classes – Doctor, Patient and Hospital.
A patient can be a private or public patient and is handled differently in either case. Patients are assigned to Doctors according to availability and preference.
For more details pls find the attach file