Which of the following classes should you use?

Correct Answer for the following Question is given below

The application you are developing needs to write data to a flat file that include items such as a five-digit integer key, followed by a 20-character customer name, followed by two date and time fields. Your solution should be as fast as possible and should create smallest size data file. Which of the following classes should you use?

Question:

Which of the following classes should you use?

Options:

FileStream

StreamWriter

BinaryWriter

DataWriter

Correct Answer

The Correct Answer for this Question is

BinaryWriter

Explanation

The Question – Which of the following classes should you use? has been answered correctly and answers for the question is BinaryWriter

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment