Complete Practical LINQ Tutorial in C#

所在平台: Udemy

课程主页: https://www.udemy.com/course/master-linq-csharp/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:C# 完整实用 LINQ 教程 课程概述:自从 C# 3 引入扩展方法以来,它们已成为 .NET 平台不可或缺的一部分。这一强大的功能促使构建了一个名为 LINQ(语言集成查询)的完整框架。然而,许多代码库仍然避免使用 LINQ,依赖旧的过程式编程。如果您对 LINQ 感到不适或者想提升对 LINQ 的理解,那么本课程非常适合您。LINQ 借鉴了函数式编程的理念,尤其是 F#。因此,本课程不仅涉及 LINQ,还涵盖了函数式编程的基础知识。 课程内容包括: 1. LINQ 基础:扩展方法、管道概念、IEnumerable、自定义扩展的实现、查询语法、LINQ 操作的常见陷阱、如何修改列表。 2. 生成数据流:Enumerable 类及其主要操作、自定义生成数据流的扩展实现。 3. 过滤、排序、投影:解析 CSV 文件、使用 ThenBy、First、Last、Single、TakeWhile、SkipWhile、Any、All、Contains、SequenceEqual、Select 和 SelectMany 进行操作。 4. 连接、分组、聚合:使用 Join、Group、GroupJoin、Zip、Sum、Average、Min 和 Max 进行操作。 5. 转换:使用 OfType、Cast、ToArray、ToList、ToDictionary、ToLookup、AsEnumerable 和 AsQueryable 进行类型转换。 6. LINQ to XML:概述、从集合生成 XML、读取 XML。 7. 表达式树和 LINQ:插入和读取数据库。 8. C# 可扩展性:函数式编程的概念、纯度与副作用、扩展 IDisposable、通用扩展、扩展 StringBuilder 和原始困扰。 简而言之,这是一个非常优秀的课程,立即报名,开始学习 LINQ 和函数式编程的基础知识吧!

课程评论(0条)

课程详情

Extension methods were introduced in C# 3 and since then became an indispensable part of the.NET platform. That enormously powerful feature allowed to build a whole framework built upon it called LINQ or Language Integrated Query. I've seen many code bases which avoid using LINQ and rely on old procedural style of programming. If you still feel yourself uncomfortable with LINQ or you want to improve your understanding of LINQ, then this course is for you. As you might know, LINQ was inspired by functional paradigm and F# in particular. So, this course is not only about LINQ but about the fundamentals of functional programming as well. This course covers:The basics of LINQ: extension methods, the idea of pipelining, IEnumerable, implementing our own extension, query syntax, pitfalls of LINQ operations, how to alter a listGenerating data streams: Enumerable class and its main operations, implementing your own extension which generates a stream of dataFiltering, Ordering, Projecting: Parsing a CSV file, ThenBy, First, Last, Single, TakeWhile, SkipWhile,Any, All, Contains, SequenceEqual, Select and SelectManyJoining, Grouping, Aggregating: Join, Group, GroupJoin, Zip, Sum, Average, Min, MaxConversions: OfType, Cast, ToArray, ToList, ToDictionary, ToLookup, AsEnumerable, AsQueryableLINQ to XML: overview, generating XML from a collection, reading XMLEF and LINQ: Expression Trees, Inserting into and Reading from a databaseExtendibility in C#: what is functional programming (FP), purity and side effects, extending IDisposable, general-purpose extensions, extending StringBuilder, Primitive ObsessionIn short, this is a great course, so enroll right now and start learning LINQ and the fundamentals of functional programming.

课程标签

0人关注该课程

主题相关的课程