Save XElement value from two elements in one column c# Linq
i want to save price dollors and priceeuros in same database column(if pricedollos having value then priceeuros will be having null),so how should i get this value i have two elements, i am using XDocument c# and linq
<product> <pricedollors>123</pricedollors> <priceeuros></priceeuros> <product> List<Product> productdet= xDoc.Descendants("Product") .Select(p=> new Product{Price=p.Element("??????").Value });