Загрузка...

LINQ Doesn’t Have the Operator You Need

The C#'s wonderful LINQ, the Language Integrated Query library, is so powerful that it comes with a great surprise when no LINQ operator can satisfy the requirement we are implementing. What shall we do when that happens? Many programmers fall back to good-old procedural programming in that situation. But you don't have to! In this video, you will learn how to manipulate the generic IEnumerable to combine collections with yield return. That will allow you to build reusable LINQ operators that are indistinguishable from the built-in operators. You will learn about the pitfall of immediate operator execution and why it is not usual when returning generic IEnumerable. By the end of the video, you will learn how to turn your custom LINQ operators into deferred ones, either eager- or lazy-evaluated. Information about source code: The source will soon be available to registered members on this channel. More information coming soon!

Видео LINQ Doesn’t Have the Operator You Need автора Programming C#
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки