nerdexam
Microsoft

98-361 · Question #312

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…

The correct answer is C. BinaryWriter. See the full explanation below for the reasoning.

Question

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?

Options

  • AFileStream
  • BStreamWriter
  • CBinaryWriter
  • DDataWriter

How the community answered

(39 responses)
  • A
    15% (6)
  • B
    3% (1)
  • C
    77% (30)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice