Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Complete Practical LINQ Tutorial in C#
Rating: 4.2 out of 5(172 ratings)
1,469 students

Complete Practical LINQ Tutorial in C#

LINQ to Entities, LINQ to Objects, LINQ to XML, Functional Programming and LINQ
Created byEngineer Spock
Last updated 7/2020
English

What you'll learn

  • Understand all the LINQ operations
  • Filtering, Ordering, Projecting with LINQ
  • Aggregating with LINQ
  • Joining, Grouping, Aggregating with LINQ
  • Converting with LINQ
  • Generate Data Streams
  • LINQ to XML
  • LINQ to Entities
  • Fundamentals of Functional Programming

Course content

9 sections73 lectures4h 41m total length
  • Download Source Code0:07
  • Join .NET Community of Students0:02

Requirements

  • You need to know the basics of C#

Description

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 list

  • Generating data streams: Enumerable class and its main operations, implementing your own extension which generates a stream of data

  • Filtering, Ordering, Projecting: Parsing a CSV file, ThenBy, First, Last, Single, TakeWhile, SkipWhile,Any, All, Contains, SequenceEqual, Select and SelectMany

  • Joining, Grouping, Aggregating: Join, Group, GroupJoin, Zip, Sum, Average, Min, Max

  • Conversions: OfType, Cast, ToArray, ToList, ToDictionary, ToLookup, AsEnumerable, AsQueryable

  • LINQ to XML: overview, generating XML from a collection, reading XML

  • EF and LINQ: Expression Trees, Inserting  into and Reading from a database

  • Extendibility in C#: what is functional programming (FP), purity and side effects, extending IDisposable, general-purpose extensions, extending StringBuilder, Primitive Obsession

In short, this is a great course, so enroll right now and start learning LINQ and the fundamentals of functional programming.

Who this course is for:

  • Any developer who wants to use the full power of LINQ