vc 74 (16) [Avatar] Offline
#1
Hi Jon

Thanks a lot for keeping C# in depth up to date

On page 72, shouldn't

string authorName = book.Element(author)?.Attribute("name")?.Value;


be

string authorName = book.Element("author")?.Attribute("name")?.Value;


?
jon.skeet (479) [Avatar] Offline
#2
Yes it should - thanks for spotting that. I've fixed it locally; I don't think it'll make it into the next MEAP release, but it should be in the one after that.