Collections and Generics
Welcome to the course! Here you’ll find an overview of what you’ll learn, and the importance of collections.
Lists 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!
In 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).
No, this isn’t about ketchup brands! Learn about what it means to be generic and how to create generic classes
On to generic methods: in this episode, you will find out how to make only your methods generic. Let’s get started!
You’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
Part 2 of this course covers constructs that enable you to call code on demand and react when events occurs.
This 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!
Introducing anonymous delegates: this episode shows you how to create a delegate without defining an object.
Here, you’ll learn about two different types that make it easy to define your own anonymous delegate types.
Events work with delegates to call code at defined points in your code. Learn how to use them in this episode.
Not 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!
You learned a lot in this part of the course! Next up, you’ll move on to another key concept: LINQ.
In 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.
Let’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.
Let’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.
This episode lets you know about LINQ’s execution model and how it affects your queries.
This video covers all the topics that weren’t covered in the this three part course.
Congrats 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.
Source link https://www.raywenderlich.com/604358-c-collections-lambdas-and-linq