Getting Started With LINQ in C#

所在平台: Udemy

课程主页: https://www.udemy.com/course/getting-started-with-linq-in-csharp/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:C#中LINQ入门 课程概述:集合在生活中无处不在,例如帖子中的评论、发票中的购买项以及酒店预订中的客人信息。在处理这些集合时,我们常常使用for、foreach等循环。然而,C#提供了一项专门用于处理集合的功能:语言集成查询(LINQ)。使用LINQ,可以以更简洁和可读的代码过滤、转换和查询集合,优于传统的循环方式。这是C#中不可忽视的功能,乃至被称为所有C#特性中最出色的。 课程内容:本课程将涵盖你开始高效使用LINQ所需的所有知识,时长不到2小时。完成本课程后,你将能够: - 理解LINQ与常规循环之间的主要区别。 - 学习处理集合时最常用的LINQ方法。 - 识别并修正使用LINQ时常见的错误。 - 使用LINQ重构代码,减少条件语句的使用。 - 探索最新.NET版本中的LINQ方法及其重载。 需要注意的是,虽然LINQ也可以与XML文件和数据库记录配合使用,但本课程专注于Linq与数组和列表等集合的结合。可以将本课程视为你在编码过程中使用LINQ时80%功能的20%覆盖(这就是帕累托原理)。我们不会涉及所有LINQ方法,而是重点介绍最常用的几种。 适合人群:本课程适合希望在处理集合时编写更简洁、表达力更强的代码的初学者或中级C#开发者。学员需熟悉C#对象的声明和初始化,并掌握条件语句、循环及集合(如数组和列表)的使用。 在课程结束时,你将能够使用LINQ高效地操作集合。期待在第一课见到你!

课程评论(0条)

课程详情

Collections are everywhere. Comments in a post, purchased items in an invoice, and guests in a hotel reservation.We often work with these collections using for, foreach, and other loops. But C#, has a feature specifically designed for working with collections:Language Integrated Query (LINQ).With LINQ, you filter, transform, and query collections, using more concise and readable code than traditional loops.This is the one C# feature you can't ignore. In fact, it's the best of all C# features. Ever.What you will learn?In this course, we're covering everything you need to know to start working productively with LINQ, in less than 2 hours.After taking this course, you will:Understand the key differences between LINQ and loops.Learn the most frequently used LINQ methods for working with collections.Identify and fix common mistakes when using LINQ.Refactor away from conditionals using LINQ.Explore the latest LINQ methods and overloads from recent.NET versions.LINQ works with XML files and database records too. But, in this course, we're focusing on LINQ and collections like arrays and lists.Think of this course like the 20% of the LINQ features you're using 80% of the time (That's the Pareto Principle, by the way). We're not covering every single LINQ method out there, but the most frequently used ones. And that's on purpose. In our every day coding (and jobs) we keep using a handful of methods most of the time.Who is this course for?If you're a beginner or intermediate C# developer who want to write more compact and expressive code when working with collections, this course is for you.You should be comfortable declaring and initializing C# objects and working with conditionals, loops, and collections such as arrays and lists.By the end of this course, you'll be ready to productively manipulate collections with LINQ.See you in the first lesson.

课程标签

0人关注该课程

主题相关的课程