-
Course
- Core Tech
Advanced C# 7 Collections
Learn to use the full range of Microsoft collections, from lists and dictionaries to sets, queues, and concurrent and immutable collections. This course will explore the principles of ensuring code with collections is scalable and robust.
What you'll learn
Understanding how to use collections properly is a vital part in writing effective C# applications. In this course, Advanced C# Collections, you'll learn how to use the full range of Microsoft collections and understand how to ensure collection elements are unique using sets, along with customizing dictionary key lookup and sorting of elements. First, you’ll develop an understanding of the principles of collection scalability, which is important to ensure performance stays acceptable when dealing with very large collections. Then, you'll discover how to make your code around collections more robust by using collection interfaces to decouple code, and read-only and immutable collections to protect your data. Finally, you'll delve into using collections in a multi-threaded scenario using the concurrent collections. By the end of this course, you'll have the knowledge needed to effectively choose the most appropriate collection for any reasonable situation, and leverage that collection following good practices.
Table of contents
- Version Check | 20s
- Overview and Prerequisites | 2m 22s
- Array Equality | 2m 5s
- Most Collections Are Reference Types | 2m 29s
- Equality for Collections | 2m 4s
- Comparing Collection Values with SequenceEqual() | 1m 6s
- Array Assignment | 2m 7s
- Why Are Arrays so Strange? | 3m
- Arrays under the Hood | 3m 50s
- Lists under the Hood | 2m 12s
- Summary | 1m 10s
About the author
Simon is a senior developer with over 20 years programming experience, particularly covering C++ and the .NET Framework. He believes knowledge is to be shared and has written or co-written more than a dozen books for professional programmers.
More Courses by Simon