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
Write a python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".

i what to know how setcapture() api work in c#

Figure is a representation of the solar system. In a basic model of the same concentric orbits planets rotate around the sun. The closer the Planet in less time Sun completes a ful

1) Write a program that takes an input value (for example, a number 5). The output should be sum of all numbers from 1 to the value input by the user (in this example, the output w

P4's goal is to design the C# classes needed to track creature viability in a MMO game under development .  Part I: Class design 1)  GameCreature class (with derived ty

Write a Program to illustrate the call by value? #include . int compute_sum(int m); int main( void) { int n=3, sum; printf("%d\n",n); /*3 is printed */ sum=compute_sum(n

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

In this section we need to take a brief look at systems of differential equations which are larger than 2 x 2. The problem now is not like the first few sections where we looked at

This section is proposed to be a catch all for several of the fundamental concepts which are used occasionally in working with systems of differential equations. There will not be

I am still waiting on a quote from you