I have an XElement object which has a number of attributes and I simply want to add another attribute to the element.
How do I do this?
xElement.Add(new XAttribute("Foo", "Bar"));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With