Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The Complete Course of LINQ and C# Programming
Rating: 4.0 out of 5(5 ratings)
80 students

The Complete Course of LINQ and C# Programming

Learn LINQ like a Professional. Become an expert in LINQ, C# Programming and SQL. From ZERO to HERO!
Last updated 1/2025
English
English [Auto],

What you'll learn

  • You will learn to apply LINQ with C# professionally, starting from zero level!
  • You will understand the logic of C# Programming step by step and from scratch (for beginners) to advanced
  • You will become perfectly familiar with the Visual Studio interface and workspace to configure and prepare all aspects of the coding
  • You will discover how to use all LINQ functions: OrderBy, Reverse, Where, Select, Aggregate, Concat, Distinct, Max, Average, Propend, Append, GroupBy, Take...
  • You will master the ZIP or Iterator function, as well as you will know the C# collections
  • You will use LINQ to SQL: Entity Framewrok Core, Tables, Query Property Integration, Complex Database Structures, Pagination, Filtering... and much more
  • You will be able to apply everything learned in practical applications, from basics to advanced
  • You will build a complete understanding of LINQ and C# from the ground up and in a practical way!

Course content

2 sections36 lectures8h 43m total length
  • Introduction to the course5:24

    Explore how LINQ in the C# standard library operates on collections with deferred execution, and introduce database integration with entity framework and relational mapping, including pagination and filtering.

  • Quiz
  • Downloading and Installing the software3:31

    Download Visual Studio Community edition, install .NET and web development workload, choose a console app targeting .NET 6, create a project, and start practicing with sample problems and database exercises.

  • LINQ Concepts: types of C# collections and LINQ functions43:30

    Explore LINQ concepts and C# collections, including lists, arrays, immutable arrays, and enumerables; learn how select and max by operate, and how lazy evaluation and iteration work.

  • OrderBy, OrderByDescending and Reverse functions7:19

    Learn to sort data with order by and order by descending in LINQ, comparing by age or name with IComparable, and using reverse or descending in query and method syntax.

  • MaxBy, MinBy, Max, Min and Average functions3:53

    Explore maxby, minby, max, min, and average in C# LINQ, including empty-list handling with the null-forgiving operator, computing oldest and youngest ages, totals, and double values for averages.

  • Where functions6:13

    Use where in LINQ to filter a sample list of people by name starting with a letter and by age. See how deferred execution and changes to the source affect results, and note the role of select, immutable arrays, and simple C# seven syntax additions.

  • Select functions3:34

    Learn how select transforms a sequence by projecting to a different type, such as names or ages, and how it combines with order by and deferred execution.

  • Aggregate, Enumerable.Range and DefaultIfEmpty functions12:49

    Explore how to use Aggregate to combine elements in a sequence, generate ranges with Enumerable.Range, and handle empty sequences with DefaultIfEmpty, illustrated by sums, factorials, and practical examples.

  • Concat functions1:51

    Demonstrate merging two arrays with the concat function to form a single sequence, select names, and join them with a comma, while explaining that iteration triggers deferred execution.

  • Distinct functions1:34

    See how the distinct function removes duplicates by using the dot equals function on records, and compare by name and age to yield unique entries.

  • SequenceEqual functions1:46

    Use sequence equal to compare two lists; it checks length and returns true only if all elements match, false if any mismatch, as shown when Luca's age differs or matches.

  • Prepend and Append functions2:10

    See how the append and prepend functions modify a list of people by adding values at the end or the beginning, with the final list updating accordingly.

  • ToList, ToArray and ToHashSet functions + HashSet explanation7:30

    Learn how to use ToList, ToArray and ToHashSet in LINQ, compare distinct versus unique values, and understand HashSet performance and equals logic.

  • First, FirstOrDefault, Single, SingleOrDefault, Last and LastOrDefault functions7:54

    Explore First, FirstOrDefault, Single, SingleOrDefault, Last, and LastOrDefault in LINQ with C#, noting when they throw errors versus returning defaults, and how Single differs in behavior and performance.

  • Any and All functions3:23

    Explore how the dot any and all functions in LINQ evaluate a name list to yield true or false, using short-circuit checks.

  • OfType and Cast functions3:43

    Filter a list by type using OfType, and use Cast to convert items to the right type, illustrated with super person and person examples and casting errors.

  • Zip function Part 12:57

    Explore how the zip function merges two lists, such as names and ages, to create a new person, showing mapping via a selector and understanding zero-based indexing.

  • Zip function part 20:41

    Zip combines elements from lists of different lengths by taking items up to the shortest list and ignoring the extra elements, as shown when Eric is excluded.

  • GroupBy and ToLookup functions6:57

    Explore GroupBy and ToLookup with a car catalog: group cars by company, print grouped keys and members, compare grouped results with immediate lookup and indexing for Toyota, Ford, and Tesla.

  • ToDictionary function7:08

    Explore how to use the ToDictionary function to map car names to objects, compare dictionary lookups with single or default, and gain faster lookups via hashing.

  • Take, TakeLast, Skip and SkipLast functions2:50

    Learn how to paginate data with take, take last, skip, and skip last in linq, using a car list to fetch the first five, last five, and subsequent pages.

  • Select (with index) and ElementAt functions4:54

    Demonstrate select with an index and the element at function to enumerate cars with numbers, and filter with where for items under forty thousand.

  • Enumerable.Repeat functioon0:35

    Explore the Enumerable.Repeat function by showing how to create a sequence that repeats an element, such as hello, a specified number of times.

  • SelectMany function4:45

    See how SelectMany flattens multiple car lists into one, producing tuples of brand, company, and car. Compare it with group by and concatenate brand and product name to format results.

  • Intersect, Union and Except functions4:02

    Explore linq set operations intersect, except, and union on two lists, including intersect by and union by for name-based matching, showing common, exclusive, and combined results.

  • Iterator functions25:10

    Learn to implement iterator functions in C#, using yield return to filter and project data with where, select, first, and count, and explore max, min, and fibonacci examples.

  • Pratice Problem #1 - Concat Square Digits2:16

    Solve a practice problem that squares each digit of a number and concatenates the results using LINQ in C#, with examples like 33 becoming 99 and 44 becoming 1616.

  • Practice Problem #2 - Factoring a number1:59

    Explore a naive factoring method that lists a number’s factors via mod tests and checks primality by counting factors, highlighting inefficiency for large inputs with LINQ.

  • More Practice Problems19:03

    Explore practical LINQ and C# problems by building tests, filtering and comparing sequences, and solving a temperature closest to zero challenge using aggregates and null handling.

Requirements

  • Having some basic notion of programming or maths can help, but the course starts from scratch
  • Downloading and installing the software to work (if you don't know how, don't worry, it's very easy, free, and I'll explain it to you in class 2!)
  • A decent computer and above all, a desire to learn!

Description

Become a LINQ and C# Programmer and learn one of employer's most requested skills nowadays!

This comprehensive course is designed for students, engineers, researchers... to be able to use LINQ and C# language from scratch to program in a simple and practical way. Never mind if you have no experience in programming, you will be equally capable of understanding everything and you will finish the course with mastery of the subject.

After several years working as an Engineer, I have realized that mastering LINQ to program today is something very necessary in engineering or other programming applications, like SQL. C# is one of the most used programming languages in the world, and its demand is increasing. Knowing how to program this language in LINQ can give you many job opportunities and many economic benefits, especially in the scientific or engineering field.

The big problem has always been the complexity to learn that programming requires, since its understanding is not easy. In this course I try to facilitate this entire learning and improvement process, and you will be able to carry out and understand your own codes in a short time, thanks to the step-by-step and detailed examples of every concept.

With over 30 lectures and almost 9 hours of video this comprehensive course leaves no stone unturned! This course includes coding exercises and theoretical explanations as well as practical examples to master LINQ and SQL. This course will teach you programming in a practical manner.

We will start by helping you get Visual Studio (interface) installed on your computer, regardless of your operating system, whether its Linux, MacOS, or Windows, we've got you covered.

Then, we will cover a wide variety of topics, including:

  • Installation and Introduction to LINQ and C#

  • Interface and basic tools of Visual Studio

  • C# language from scratch to advanced programming level

  • All LINQ functions

  • C# collections

  • ZIP functions

  • Iterator functions

  • LINQ to SQL

  • How to Set Up Entity Framework core

  • Simple Relational Mapping in Index CRUD page

  • Integrating an SQL to Linq query property

  • Setting up complex database structures

  • Setting up pagination and filtering

  • Practical Exercises

  • and much more!

In other words, what I want is to contribute my grain of sand and teach you all those things that I would have liked to know in my beginnings and that nobody told me. In this way, you will be able to learn to code different types of algorythms quickly and make versatile and complete use of LINQ and C# language. And if that were not enough, you will get lifetime access to almost 40 lectures and I will be at your disposal and I will answer all the questions you want in the shortest possible time.

Learning LINQ and C# Programming has never been easier. What are you waiting to join?

Who this course is for:

  • Beginners who have never programmed before
  • Programers switching languages to C#
  • Itermediate or advanced LINQ and C# programmers who want to level up their skills!
  • Any person who wants to start LINQ, C# or SQL in a practical and easy way