class Server
{
public int ID { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string Login { get; set; }
public string Password { get; set; }
public string AdminEmail { get; set; }
}
I need to serialize to XML and deserialize List<Server> _servers;
Thanks for the help!
Use the
XmlSerializerclass: