-
Course
- Core Tech
Beginning C# 7 Collections
Almost every app requires data to be stored in collections. This course gives you a basic introduction, covering the most widely used collections - arrays, lists, and dictionaries - and gets you up to speed with querying and modifying data in them.
What you'll learn
Collections are essential to store almost any real data in apps, but the vast number of different collections can be confusing. In this course, Beginning C# Collections, you will gain the ability to leverage the most commonly used collections to query data. First, you will learn how and when to use the array, the list, and the dictionary - the three most widely used collections - to group data together. Next, you will discover how to query data using the foreach and for loops and also using LINQ. Finally, you will explore how to put collections inside other collections to accomplish tasks such as partitioning data. When you're finished with this course, you will have the skills to store data in collections, and to look up, enumerate, query, and modify that data using the collections in a variety of simple scenarios.
Table of contents
- Version Check | 20s
- Overview | 1m 2s
- What Is a Collection? | 2m 6s
- The Array: A Fixed Size Ordered Collection | 2m 29s
- Enumerating an Array | 4m 4s
- Some Collection Terminology | 46s
- Looking up Array Items | 3m 35s
- Arrays Are Zero-indexed | 2m 56s
- Collections Are Safe | 59s
- Converting Between Zero-based and One-based Indexing | 2m 11s
- Replacing Array Items | 2m 40s
- Debugging with Arrays | 1m 31s
- From Arrays to Other Collections | 1m 5s
- Summary | 1m 5s
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