a number of simple student records are written to


A number of simple student records are written to a text file.

The format of some typical linesshould be -

Task (1):

Using a text editor, create a file with 10 such records, all different, with Dates of Birth NOT in chronological order.

Task (2):

Write a C# console application program which reads the data and allows the user to browse the data record (student) by record, allowing the user to specify First, Last, Previous and Next by typing a letter on the keyboard. The letter should not be case sensitive.Typing X should terminate the program.

Task (3):

When the user specifies Sort, the records are sorted in chronological order on the date of birth.It should be possible to continue browsing.

Task (4):

The application should be robust enough to flag an error (and terminate) if any of the following input errors are present in the data file -

(a)     There are not exactly five fields of data (including the optionally blank secondname)

(b)     The number of records exceeds 10

(c)     Any record is blank (except secondname)

(d)     The date of birth is in an incorrect format

(e)     The gender is not correct (must be the single uppercase letter M or F).

Request for Solution File

Ask an Expert for Answer!!
Application Programming: a number of simple student records are written to
Reference No:- TGS0218430

Expected delivery within 24 Hours