public ushort ReadUInt16(string fieldName) { if (BeginField(fieldName, true)) { string xml = ReadString(); if (!String.IsNullOrEmpty(xml)) { ushort value = XmlConvert.ToUInt16(xml); EndField(fieldName); return value; } } return 0; }