using System.Xml.Serialization;
[XmlRoot(Namespace = "http://www.testxmlns.com/employee", IsNullable = true)]
public Employee[] InnerEmployee;
[XmlElement("OtherElement")]
public String OtherElement;
public static void Main()
const string xml = @"<Employee xmlns=""http://www.testxmlns.com/employee"">
<OtherElement>OE1</OtherElement>
<OtherElement>OE2</OtherElement>
<OtherElement>OE3</OtherElement>
<OtherElement>OE4</OtherElement>
var serializer = new XmlSerializer(typeof(Employee));
using (var sr = new StringReader(xml))
var retObj = (Employee) serializer.Deserialize(sr);
Console.WriteLine(retObj.InnerEmployee[0].OtherElement);
Console.WriteLine(retObj.InnerEmployee[1].OtherElement);