Since we are going to use List<> in this example, ensure that you have added the using System.Collections.Generic; namespace. We also want to have more control over the structure of the XML, so also include the using System.Xml.Serialization; namespace so that we can use the appropriate attributes. Lastly, for the LINQ query, you will need to add the using System.Linq; namespace.