↧
Answer by Martin Honnen for Using LINQ to XML how can I group element on the...
Try along the following lines:var groups = from record in xmldoc.Descendants("record") group record by (string)record.Element("collection") into g select new { key = g.Key, count = g.Count() }foreach...
View ArticleUsing LINQ to XML how can I group element on the basis of its value?
Below is the structure of my xml file:<adlibXML><recordList><record priref="1"...
View Article
More Pages to Explore .....