Title: Visual Studio C# - LINQ - LINQToXML - Lesson V
Duration: 15:00 min
Description: This video will show you how you can use the familiar 'new' operator to create a node (or list of nodes). Then, we will use 'All' to find whether the nodes satisfy a certain condition. Finally, we will sort the book authors in ascending order.
Methodology: Using LINQ as a library to abstract away reading XML data.
Technologies: XML, LINQ, LINQtoXML.
Examples constructed: We continue our mini-examples by creating a list of nodes using Repeat, then using All to find all the books that have at least one author. The final example shows how we can sort the list of authors.
Key words: XML, XDocument, XElement, Enumerable, Range, new, All, Random, Next(),
foreach, Repeat, Descendants, Distinct, OrderBy.