XmlSerializer xmlSerialilzer = new XmlSerializer(typeof(SOV10));
using (MemoryStream stream = new MemoryStream(Encoding.UTF8.GetBytes(soXml)))
{
SOV10 so = (SOV10)xmlSerialilzer.Deserialize(stream);
ShowSO(so);
}
using (MemoryStream stream = new MemoryStream(Encoding.UTF8.GetBytes(soXml)))
{
SOV10 so = (SOV10)xmlSerialilzer.Deserialize(stream);
ShowSO(so);
}