K1Lesson 34 of 49about 180 minutes
Lambdas and delegates: behavior as a value
What you learn in this lesson
- read Func and Action and store a method in a variable
- write lambdas in the short and in the long form
- pass behavior to a method as a parameter instead of copying variants
- explain what a captured variable is and avoid the trap in the for loop
- sort a list with a comparison rule of your own
This lesson belongs to course K1
You will see this lesson's text and video once you have bought the course. The goals above show what you learn here.
€149.00
incl. VAT, one-time payment
Access to all of the course's lessons with their exercises, solutions and videos on this site, for 24 months from the purchase. A self-study course: no tutoring, no exams or grading by us, and no certificate.
Sign in and buy