C# Collections, Lambdas, and LINQ
Feb 19 2019 · Video Course (2 hrs, 3 mins) · Beginner
Looking to have objects contain other objects? Looking to call code on demand? Want to query your collections like you would query a database? This course will cover all that, and build on what you learned in Beginning C# and Intermediate C#.
Version
- C# 7, Windows 10, Visual Studio 2017


Collections and Generics
Welcome to the course! Here you'll find an overview of what you'll learn, and the importance of collections.
Lists
5:53Lists are like arrays, but without the hassle of having to resize them. Let's get started with using them.
One of the coolest features of C# is how you can initialize an object or collection at the time you create it. Learn how to do that here.
Challenge time! Here, your mission is to create your first list to store names. Try it out!
Dictionaries
5:29In this episode, you'll learn the basics of working with dictionaries to store your objects based your own keys.
Challenge time! This time, your challenge is to define your very own dictionary. Give it a shot!
Need more collection types? This episode provides an overview of all the other collection types at your disposal.
Here, you'll see how coding against an interface makes your code resilient to change (always a good thing).
Generic Classes
6:41No, this isn't about ketchup brands! Learn about what it means to be generic and how to create generic classes
Generic Methods
4:38On to generic methods: in this episode, you will find out how to make only your methods generic. Let's get started!
Conclusion
2:07You're done with Part 1! This episode concludes the overview of collections and gives a hint at what comes next in Part 2.
Delegates, Events, and Lambdas
Introduction
1:09Part 2 of this course covers constructs that enable you to call code on demand and react when events occurs.
Delegates
9:21This episode introduces delegates, which are powerful tools that can notify several objects at once. Let's get started.
Challenge time! Your first challenge in Part 2 is to create your own delegate. Have fun!
Anonymous Delegates
3:50Introducing anonymous delegates: this episode shows you how to create a delegate without defining an object.
Func and Action
5:20Here, you'll learn about two different types that make it easy to define your own anonymous delegate types.
Events
5:41Events work with delegates to call code at defined points in your code. Learn how to use them in this episode.
Lambda
6:14Not just for fraternities and sororities: Learn how to use lambdas to make your code clean and concise.
Challenge Time! In the last challenge of Part 2, you'll write your very own lambda. Try it out!
Conclusion
1:50You learned a lot in this part of the course! Next up, you'll move on to another key concept: LINQ.
LINQ
Introduction
2:05In Part 3 of this course, you'll learn about the concept of LINQ and why it so powerful. Let's get started!
In this episode, you'll find an overview of query syntax and method sytax, plus a comparison of the two of them.
Query Syntax
10:13Let's dive deeper into query syntax: this episode gives you more information on query syntax and how to use it.
Challenge time! In this challenge, your mission is to write a LINQ query using query syntax.
Method Syntax
6:04Let's move on to method syntax: this episode shows you how to write LINQ queries using method syntax.
One more challenge for the course! In this challenge, you'll rewrite your query syntax to use method syntax.
Deferred Execution
1:22This episode lets you know about LINQ's execution model and how it affects your queries.
What Wasn't Covered
5:56This video covers all the topics that weren't covered in the this three part course.
Conclusion
2:14Congrats on finishing the C# Collections, Lambdas, and LINQ course! Here we'll review what you learned and give you tips on where to go next.
Comments