Write c sharp application to read a data, Programming Languages

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).

Posted Date: 3/22/2013 3:55:32 AM | Location : United States







Related Discussions:- Write c sharp application to read a data, Assignment Help, Ask Question on Write c sharp application to read a data, Get Answer, Expert's Help, Write c sharp application to read a data Discussions

Write discussion on Write c sharp application to read a data
Your posts are moderated
Related Questions
need some one to help me with malab

Question: (a) Explain the concepts of Inheritance and Polymorphism in Lingo programming. (b) Write short descriptions on parent scripts and child objects in Lingo object

CSCI 3380 Project 1 For Mano’s Computer design, we have the following flowchart for fetch and decode phases: Please write the code to simulate the computer to

WRITE A FORTRAN PROGRAMME TO GENERATE PRIME NUMBERS BETWEEN 1 AND 100.

Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s

Question: (i) All Security authentication mechanism that run on the TRU64 Unix Operating system run under the Security Integration Architecture (SIA ) layer. Explain with di

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, char *t); retu


How do i get back data from a FOR loop in order to print them on screen?

Oracle 11G Reports We are troubleshooting the pagination of Oracle reports when printed from a browser. We need help determining the issue and correcting within the report ou