K
K Viltersten
I'm using the following approach to ensure that there's
at most one tag of type blopp.
XElement element = ...;
if (element.Elements("blopp").Count > 1) {...}
However, intellisense tells me that there's no Count
property for the object. How can i get the number
of elements in the object element?
at most one tag of type blopp.
XElement element = ...;
if (element.Elements("blopp").Count > 1) {...}
However, intellisense tells me that there's no Count
property for the object. How can i get the number
of elements in the object element?