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.
Course Overview Hello, my name is Deborah Kurata, and I'd like to welcome you to my course, C# Best Practices: Collections and Generics from Pluralsight. Aw, 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 start with a classic collection type, arrays. We then jump into generics covering what they are and how we can leverage them to build more generic or generalized code. With that, we'll have the basics we need to tackle generic lists and generic dictionaries. 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. Lastly, we'll look at Language Integrated Query, or LINQ, for our 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.