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#.
4.5/5Version
- 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.
1Lists are like arrays, but without the hassle of having to resize them. Let's get started with using them.
2One 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.
3Challenge time! Here, your mission is to create your first list to store names. Try it out!
4In this episode, you'll learn the basics of working with dictionaries to store your objects based your own keys.
5Challenge time! This time, your challenge is to define your very own dictionary. Give it a shot!
6Need more collection types? This episode provides an overview of all the other collection types at your disposal.
7Here, you'll see how coding against an interface makes your code resilient to change (always a good thing).
8Generic Classes
6:41No, this isn't about ketchup brands! Learn about what it means to be generic and how to create generic classes
9Generic Methods
4:38On to generic methods: in this episode, you will find out how to make only your methods generic. Let's get started!
10Conclusion
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.
11Delegates, 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.
12Delegates
9:21This episode introduces delegates, which are powerful tools that can notify several objects at once. Let's get started.
13Challenge time! Your first challenge in Part 2 is to create your own delegate. Have fun!
14Anonymous Delegates
3:50Introducing anonymous delegates: this episode shows you how to create a delegate without defining an object.
15Func and Action
5:20Here, you'll learn about two different types that make it easy to define your own anonymous delegate types.
16Events
5:41Events work with delegates to call code at defined points in your code. Learn how to use them in this episode.
17Lambda
6:14Not just for fraternities and sororities: Learn how to use lambdas to make your code clean and concise.
18Challenge Time! In the last challenge of Part 2, you'll write your very own lambda. Try it out!
19Conclusion
1:50You learned a lot in this part of the course! Next up, you'll move on to another key concept: LINQ.
20LINQ
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!
21In this episode, you'll find an overview of query syntax and method sytax, plus a comparison of the two of them.
22Query Syntax
10:13Let's dive deeper into query syntax: this episode gives you more information on query syntax and how to use it.
23Challenge time! In this challenge, your mission is to write a LINQ query using query syntax.
24Method Syntax
6:04Let's move on to method syntax: this episode shows you how to write LINQ queries using method syntax.
25One more challenge for the course! In this challenge, you'll rewrite your query syntax to use method syntax.
26Deferred Execution
1:22This episode lets you know about LINQ's execution model and how it affects your queries.
27What Wasn't Covered
5:56This video covers all the topics that weren't covered in the this three part course.
28Conclusion
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.
29
Comments