Skip to content

Latest commit

 

History

History
51 lines (49 loc) · 948 Bytes

2019-09-10.md

File metadata and controls

51 lines (49 loc) · 948 Bytes

COS 470 - Tuesday 2019-09-10

Objectives

  • Ensure student success on assignment 1

Notes

  • Progress/questions on assignment 1

Class

  • Topics
    • Delegates
    • linq
    • git
  • Review assignment mistakes
  • Delegates (we touched on this, but we'll do it again next class)
    • Anonymous functions
      • Func<,>
      • Action<>
    • Lambda expressions: a => a % 2 == 0
      • as a function definition
      • as a parameter
      • as a variable
      • multiple parameters
    • closure magic
    • Questions?
  • System.Linq
    • Fluent Syntax
      • Extension functions, this
    • where (e or (e,i))
    • orderBy (descending)
    • groupBy
    • reverse
    • take
    • zip
    • first (or default)
    • last (or default)
    • group by
    • Aggregate
      • Sum
      • min
      • max
      • average
      • count (vs count())
      • default if empty
    • To...
      • Dictionary
      • Array
      • List
    • Linq exercises
  • Mentioned: Unit tests
  • Mentioned: Debug Arguments
  • Mentioned: Config file