if statement to check the value of an attribute doesn't work.
if (element.Elements(ns + "list").Where(x => x.Attribute("name").Value == "myProject") != null)
Is there other way to check if the value of an attribute exists?
Aucun commentaire:
Enregistrer un commentaire