I was basically wondering if it is possible to optimize this code:
AmountComments = Int32.Parse(r.Attribute("AmountComments").Value)
Ideally I would want to write something like
AmountComments = r.Attribute("AmountComments")
r would be a xml tag of type XElement, which is selected before in a Linq query.