When building applications we often deal with groups of things: a user's preferences, a customer's orders, or a product's color choices. To implement these groups of things in C#, we use collections. And to get the most from collections, we need to leverage generics. This course covers how, when, why, and best practices for using C# collections and generics, including arrays, generic interfaces, LINQ, delegates, and Lambda expressions.
Hello! My name is Deborah Kurata and I'd like to welcome you to my course: "C# Best Practices: Collections and Generics" from Pluralsight.
Ah generics ... that challenging to explain topic that often shows up even in the most basic of beginner courses ...because without generics we don't have a good way to work with collections of things. And most applications require working with collections of things.
In this course, we cover:
Arrays- We start with the classic collection type
Generics- We then jump into generics covering what they are and how we can leverage them to build more generic (or generalized) code.
Generic Lists & Dictionaries- With that, we'll have the basics we need to tackle Generic Lists and Generic Dictionaries.
Generic Collection Interfaces- Then we'll dive deeper into generic collections and look at the interfaces that they implement. We'll see how to leverage those interfaces as method parameters and method return types.
LINQ- Lastly, we'll look at Language Integrated Query, or LINQ for filtering, shaping, ordering, grouping, aggregating or locating elements in a collection.
By the end of this course you will know the how, when, why and best practices for working with C# collections.
I hope you'll join me on this journey through "C# Best Practices: Collections and Generics" ...from Pluralsight.