~/talk

Learn to Love Lambdas

Talkat TechBash 2018 · 2018-10-02..10-05· [functional-programming]
links:none on file
slides:none on file

C# lambdas explained through a WPF demo that hooks a repository GetPeopleAsync event into an anonymous delegate then converts it to a lambda, showing parameter inference and the fat‑arrow syntax; closure/captured variable keeps list selection across async refreshes; LINQ method syntax uses Where, OrderBy/ThenBy/OrderByDescending and FirstOrDefault on an in‑memory IEnumerable<Person> to add name/date filters and stable sorting; all examples run live and the UI behaviors (selection preserved, filters combined, sorting secondary keys) work.

AI-written summary · about

  1. 0:00Start
  2. 1:05LINQ (Language Integrated Query)
  3. 3:24Parameters: 3 Parts = goes to operator Expression or Statements
  4. 5:27SYNTACTIC VARIATIONS Optional Parameter Types (Parameter Type Inference) (s, e) = { ListBox.Items Source = e. Result; }
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.