Map xml string property to C# properties
问题 I need to map a xml property to c# properties. var src = new Source(); src.Id = 1; src.Name = "Test"; src.Address = "<Country>MyCountry</Country><Prefecture>MyPrefecture</Prefecture><City>MyCity</City>"; class Source { public string ID{ get; set; } public string Name{ get; set; } public string Address{ get; set; } } Class Destination { public string ID{ get; set; } public string Name{ get; set; } public string Country { get; set;} public string Prefecture { get; set;} public string City { get