C# Collections Course

Go to class
Write Review

Free Online Course: C# Collections Course provided by Treehouse is a comprehensive online course, which lasts for 2-3 hours worth of material. The course is taught in English and is free of charge.

Overview
  • Collections are used to organize data so that it can be used efficiently. In this course we'll learn about the various collection types provided by the .NET framework.

    What you'll learn

    • Arrays
    • Lists
    • Sets
    • Dictionaries
    • Generics

Syllabus
  • Arrays

    Arrays are good for retrieving and updating values, but not so good for finding, adding, and deleting values.

    Chevron 8 steps
    • Welcome

      4:04

    • Arrays

      4:14

    • Jagged Arrays

      9:47

    • Jagged Arrays

      1 objective

    • Multidimensional Arrays

      7:34

    • Multidimensional Arrays

      1 objective

    • Disadvantages of Arrays

      5:53

    • Arrays

      2 questions

    Lists

    Internally, System.Generic.Collections.List is an array, but it's much easier to work with.

    Chevron 11 steps
    • Lists

      7:14

    • More List Operations

      4:45

    • Lists

      4 questions

    • Searching Lists

      3:32

    • Lists

      1 objective

    • Sorting Lists

      11:49

    • Searching Sorted Lists

      6:10

    • Collection Interfaces

      5:06

    • Collection Interfaces

      4 questions

    • Read-only Collection Interfaces

      5:12

    • Read-only Collection Interfaces

      1 objective

    Sets and Dictionaries

    Sets and dictionaries are fast at finding, retrieving, and removing items. They're unordered and rely on object hash codes.

    Chevron 11 steps
    • HashSet

      5:29

    • Hashing

      6:48

    • GetHashCode and Equals Methods

      4:03

    • Hash Codes and Object Equality

      5 questions

    • Dictionary

      11:29

    • Dictionary

      1 objective

    • Dictionary Keys and Values

      6:06

    • Using Dictionaries

      2 objectives

    • The System.Collections.Generic Namespace

      3:00

    • The System.Collections Namespace

      3:24

    • Other Collection Types

      4 questions