Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Functional Construction (LINQ to XML) (C#)"
description: Learn how the LINQ to XML programming interface enables functional construction, the ability to create an XML tree in a single statement in C#.
ms.date: 07/20/2015
ms.assetid: 57a82bcf-de03-4f1c-a0c8-9a76e989d542
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Functional Programming vs. Imperative Programming (C#)"
description: This article compares functional programming in C# with the procedural approach. Functional programming enforces immutability through pure functions.
ms.date: 07/20/2015
ms.assetid: 5e35c5a0-c949-422a-873b-fca6b2254f57
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Functional Transformation of XML (C#)"
description: Learn how to modify XML documents using the pure functional transformation approach in C# and how that differs from a procedural approach.
ms.date: 07/20/2015
ms.assetid: 0ccb9251-38d7-44e3-9b84-1b5fe25e4b59
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Functional vs. Procedural Programming (LINQ to XML) (C#)"
description: For processing XML, LINQ to XML supports both procedural, in-memory XML tree modification and a functional construction that uses a declarative approach.
ms.date: 07/20/2015
ms.assetid: fc64e39c-a487-4882-9169-da4de97917d9
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Generation Operations (C#)"
description: Generation creates a new sequence of values. Learn about the standard query operator methods in LINQ in C# that perform generation.
ms.date: 07/20/2015
ms.assetid: 1c421b3a-5954-448c-bcac-a27798d1858f
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Grouping Data (C#)"
description: Grouping puts data into groups of elements that share an attribute. Learn about the standard query operator methods in LINQ in C# that group data elements.
ms.date: 07/20/2015
ms.assetid: e414e9e4-343a-4e6e-858f-4a30c5e64492
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to add custom methods for LINQ queries (C#)"
description: Learn how to extend the set of methods that you can use for LINQ queries by adding extension methods to the IEnumerable<T> interface in C#.
ms.date: 07/20/2015
ms.assetid: 1a500f60-2e10-49fb-8b2a-d8d08e4817cb
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to build LINQ to XML examples (C#)"
description: Supply the appropriate using directives needed to compile C# to run the provided snippets and examples of LINQ to XML.
ms.date: 07/20/2015
ms.assetid: e5d18fa1-2704-48fe-a44b-1564f97c9e9c
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to calculate intermediate values (C#)"
description: This LINQ to XML example in C# shows how to calculate intermediate values that can be used in sorting, filtering, and selecting.
ms.date: 07/20/2015
ms.assetid: 7fd3001f-f8f9-4bce-879f-d4c7af8a04fe
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to catch parsing errors (C#)"
description: This LINQ to XML example in C# detects badly formed or invalid XML. LINQ to XML uses XmlReader, which throws an exception for badly formed or invalid XML.
ms.date: 07/20/2015
ms.assetid: bfb612d4-5605-48ef-8c93-915cf9d5dcfb
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to chain axis method calls (LINQ to XML) (C#)"
description: These LINQ to XML examples in C# demonstrate calls to two axes to find all elements of a specified name at a given depth in the tree.
ms.date: 07/20/2015
ms.assetid: 067e6da2-ee32-486d-803c-e611b328e39a
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to change the namespace for an entire XML tree (C#)"
description: Learn how to programmatically change the namespace for an element or an attribute in LINQ to XML in C#.
ms.date: 07/20/2015
ms.assetid: 1584ff3b-c77d-4241-ab62-80adfb7bfc1b
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to combine and compare string collections (LINQ) (C#)"
description: This example merges files that contain lines of text. Learn how to do a simple concatenation, a union, and an intersection on the sets of lines in LINQ in C#.
ms.date: 07/20/2015
ms.assetid: 25926e5b-fde2-4dc1-86a0-16ead7aa13d2
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to combine LINQ queries with regular expressions (C#)"
description: This example creates a regular expression for matching in text strings by using the Regex class in C#.
ms.date: 07/20/2015
ms.assetid: 6b003b65-20a4-4ca2-929e-2ee3f215aecc
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to compare the contents of two folders (LINQ) (C#)"
description: This example demonstrates three ways to compare file listings by using LINQ queries in C#. Adapt these techniques to compare sequences of objects of any type.
ms.date: 07/20/2015
ms.assetid: c7c4870e-c500-4de3-afa4-2c8e07f510e6
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to compute column values in a CSV text file (LINQ) (C#)"
description: This example shows how to perform aggregate computations using LINQ in C#, such as Sum, Average, Min, and Max, on the columns of a .csv file.
ms.date: 07/20/2015
ms.assetid: 4747f37a-a198-4df2-8efe-5b0731e0ea27
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to control namespace prefixes (C#) (LINQ to XML)"
description: Learn how to control namespace prefixes when serializing an XML tree in LINQ to XML in C#. Some situations require control of namespace prefixes.
ms.date: 07/20/2015
ms.assetid: 64de5186-b81a-4ddd-8327-8693df59a01b
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to control the type of a projection (C#)"
description: Learn about how to control the type of a projection in LINQ in C# to create collections of types other than IEnumerable<T> of XElement.
ms.date: 07/20/2015
ms.assetid: e4db6b7e-4cc9-4c8f-af85-94acf32aa348
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to count occurrences of a word in a string (LINQ) (C#)"
description: This example uses a LINQ query in C# to count the occurrences of a specified word in a string. It uses the Split method to create an array of words.
ms.date: 07/20/2015
ms.assetid: f8e6f546-7c14-4aa1-8a75-e8d09f3b8ccd
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "How to create a document with namespaces (C#) (LINQ to XML)"
description: Learn how to create a document with a namespace in LINQ to XML in C# by using an XNamespace object to combine the namespace with the local name.
ms.date: 07/20/2015
ms.assetid: 37e63c57-f86d-47ac-88a7-2c2d107def30
---
Expand Down