Which code segment should you useas the body of the StreamHistoricalFlights() method in the HistoricalDataLoader.cs file?

Transformed historical flight information provided by the RemoteDataStream() method must be written tothe
response stream as a series of XML elements named Flight within a root element named Flights. Each Flight
element has a child element named FlightName that contains the flight name that starts with the two-letter
airline prefix. You need to implement the StreamHistoricalFlights() method so that it minimizes the amount of
memory allocated. Which code segment should you useas the body of the StreamHistoricalFlights() method in
the HistoricalDataLoader.cs file?

Transformed historical flight information provided by the RemoteDataStream() method must be written tothe
response stream as a series of XML elements named Flight within a root element named Flights. Each Flight
element has a child element named FlightName that contains the flight name that starts with the two-letter
airline prefix. You need to implement the StreamHistoricalFlights() method so that it minimizes the amount of
memory allocated. Which code segment should you useas the body of the StreamHistoricalFlights() method in
the HistoricalDataLoader.cs file?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Sankarsai Mohandas

Sankarsai Mohandas

c is also correct answer

Anon

Anon

Only D is correct because it minimizes the amount of memory allocated relative to the other answers.