vc 74 (11) [Avatar] Offline
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;


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

jon.skeet (469) [Avatar] Offline
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.