C# Best Practices: Collections and Generics

This course covers best practices for using C# collections and generics, guiding you on the path from apprentice, to skilled C# software developer.
Course info
Rating
(527)
Level
Beginner
Updated
January 27, 2016
Duration
3h 35m
Table of contents
Course Overview
Introduction
Arrays
Building Generic Code with Generics
Generic Lists
Generic Dictionaries
Generic Collection Interfaces
LINQ
Final Words
Description
Course info
Rating
(527)
Level
Beginner
Updated
January 27, 2016
Duration
3h 35m
Description

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.

About the author
About the author

Deborah Kurata is a software developer, consultant, Pluralsight author, Google Developer Expert (GDE) and Microsoft Most Valuable Professional (MVP). Follow her on twitter: @deborahkurata

More from the author
Angular NgRx: Getting Started
Beginner
4h 4m
25 Jun 2018
Angular Component Communication
Intermediate
3h 39m
30 Jan 2018
Angular Routing
Intermediate
4h 47m
30 Mar 2017
More courses by Deborah Kurata
Transcript
Transcript

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.