Uploaded by Jimmy Zeledon

Asg 1 quiz

COP 4814 Quiz
Topic: Assignment 1.
1. When serializing a List to an xml file, which .NET framework classes are used?
2. (2 points) Write the sequence of code statements that serialize a List<Flight> named flightList to a file
named "flights.xml".
3. In code, show how to create a DateTime object named currDate, using the date June 1, 2017, at 12:00
4. With correct XML syntax, write a sample XML element named <Flight>, showing all the fields within
this object as they appeared in your Assignment 1 flights.xml file.