Create a class Call, which contains information about a call made via mobile phone. This class should have the necessary members for the about date, time of start and duration of the call. Your application should have another class named CallRecord that inherits from the Call class. The CallRecord class should have necessary members, i.e. the callID, the receivers’ mobile network and the cost of the call.
Create a text file that contains the necessary data for a call record for at least five calls. When the application starts, it should read the data from the file and create a CallRecord object for each calls’ data. The CallRecord objects should be added to a List, and each call callID should be displayed in a list box on the application’s main form. When the user selects a callID from the list box, a second form should appear displaying that calls’ details individually using the relevant controls.