Write c sharp application to read a data, Programming Languages

Assignment Help:

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


Related Discussions:- Write c sharp application to read a data

Jsp project, Eclipse Jsp Project. I am making a a project on my website and...

Eclipse Jsp Project. I am making a a project on my website and i was making a help support page on which the user can submit their question and the question is saved to a text file

Real distinct and 1 double eigenvalue with 1 eigenvector, Real Distinct and...

Real Distinct and 1 Double Eigenvalue with 1 Eigenvector From the real eigenvalue/vector pair, l 1 and ?h 1 , we find one solution, e l1 t ?h 1 By our work in the 2x

Output for the following instruction if CX=9087H AX=9090H, What will be the...

What will be the output for the following instruction if CX=9087H and AX=9090H? 1) BTR AH,2? 10010000=10010000 2) BTC CX,9?1001000010000111=1001000110000111 3) NEG AX?

Shell script, append two text files vertically

append two text files vertically

Design and implement instantiable classes, Overview Goals: The goals for...

Overview Goals: The goals for this assignment are Design and implement instantiable classes. Use arrays of objects. Read from and write to files. Implement basic

Jsp, how can we get the data from data base to combo box in jsp page dynami...

how can we get the data from data base to combo box in jsp page dynamically

Matlab and Image Processing and Neural Network, I need to do image reconstr...

I need to do image reconstruction using Neural Network using Matlab

Describe url and hostname part, Describe URL and hostname part? The hos...

Describe URL and hostname part? The hostname part of the URL should be a valid Internet hostname. It can also be an IP address like as 204.29.207.217 or 128.235.252.184. The

Describe informally how to draw a pda diagram, Suppose L is a context-free ...

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd