using System.Xml.Serialization;
[XmlRoot("Employee", Namespace = "http://www.testxmlns.com/employee")]
public class EmployeeRoot
public Employee[] Employees { get; set; }
public string OtherElement { get; set; }
public static void Main()
const string xml = @"<Employee xmlns=""http://www.testxmlns.com/employee"">
<OtherElement>OE</OtherElement>
<OtherElement>OE</OtherElement>
var serializer = new XmlSerializer(typeof(EmployeeRoot));
using (var sr = new StringReader(xml))
var retObj = (EmployeeRoot) serializer.Deserialize(sr);
Console.WriteLine(retObj.Employees[0].OtherElement);
Console.WriteLine(retObj.Employees[1].OtherElement);