LINQ to Objects in Depth (7) Custom Query Methods
2018-07-20
After discussing the query methods provided by .NET, this part demonstrates how to define custom query methods:
2514 words
|
13 minutes
LINQ to Objects in Depth (6) Interactive Extensions (Ix)
2018-07-12
Besides the built-in query methods (standard query operators) provided by System.Linq.Enumerable, Microsoft also provides additional query methods through the System.Interactive NuGet package (aka [In
5654 words
|
28 minutes
LINQ to Objects in Depth (5) Query Methods Implementation
2018-07-10
Understanding of internals of query methods is very helpful for using them accurately and effectively, and is also helpful for defining custom query methods, which is discussed later in this chapter.
7122 words
|
36 minutes
LINQ to Objects in Depth (4) Deferred Execution, Lazy Evaluation and Eager Evaluation
2018-07-07
As fore mentioned, when a generator method (method contains yield statement and returns IEnumerable<T>) is compiled to a pure function, which constructs a generator and return it to caller. So at runt
2072 words
|
10 minutes
LINQ to Objects in Depth (3) Generator
2018-07-05
After understanding how to use LINQ to Objects, starting from this part, the implementation of query methods is discussed. Most LINQ to Object query methods are implemented with iteration pattern and
2926 words
|
15 minutes
LINQ to Objects in Depth (2) Query Methods (Operators) and Query Expressions
2018-07-03
This part discusses the usages of built-in LINQ to Objects query methods and query expressions. As fore mentioned, these query methods (also called [standard query operators](http://msdn.microsoft.com
11513 words
|
58 minutes
LINQ to Objects in Depth (1) Local Sequential Query
2018-07-01
LINQ to Objects queries sequences of .NET objects in local memory of current .NET application or service. Its data source and the queries are represented by IEnumerable<T>.
1906 words
|
10 minutes
C# Functional Programming In-Depth (15) Pattern matching
2018-06-15
Pattern matching is a common feature in functional languages. C# 7.0 introduces basic pattern matching, including constant value as pattern and type as pattern, and C# 7.1 supports generics in pattern
1205 words
|
6 minutes
C# Functional Programming In-Depth (14) Asynchronous Function
2018-06-14
Asynchronous function can improve the responsiveness and scalability of the application and service. C# 5.0 introduces async and await keywords to greatly simplify the async programming model.
5316 words
|
27 minutes
C# Functional Programming In-Depth (13) Pure Function
2018-06-13
Functional programming encourages modeling operations with pure functions.
1438 words
|
7 minutes