I need to check for example if 'Charrizard' exists, I was looking around the web but only found xElement Attribute value and child nodes examples.
<pokemons>
<pokemon>
<color>red</color>
<name>Charrizard</name> //the content is named value right ??
</pokemon>
</pokemons>
I saw somewhere it starts like:
XDocument doc = XDocument.Load("pokemons.xml");
bool b = doc.Descendants(but don't know how to access the value.)..
You achieve that using Enumerable.Any
Here full example in dotNetFiddle