Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 780 Bytes

File metadata and controls

30 lines (22 loc) · 780 Bytes

Learning objectives

  • Know what structs are.
  • Know how to define a struct.
  • Know how to add members to structs.
  • Know the differences between structs and classes.

Out of scope

  • ref structs.
  • ref returns
  • ref locals
  • readonly structs
  • Struct finalizers.
  • Span<T>/Memory<T>
  • stackalloc

Concepts

This Concepts Exercise's Concepts are:

  • structs: know xx what structs are; know how to define a struct; know how to add members to structs; know the differences between structs and classes.

Prerequisites

  • inheritance: know that all types are derived from object.
  • classes: know how to define and work with classes.
  • numbers:
  • sets: know how to define and work with a HashSet
  • signed-integers/integral-numbers: for ushort