Checkpoint: Capture Mechanics
Challenge on lesson: Checkpoint โ Delegates & Capture
CHALLENGE
Difficulty: intermediate+25 XP
Implement the three functions described in the checkpoint:
``csharp
static Func<int, int> MakeAccumulator(int seed);
static Action SumActions(params Action?[] steps);
static void RegisterCommand(string name, Func<int, int> fn);
static int Route(string command, int value);
``
Press Submit to check your solution.
Back to lesson: Checkpoint โ Delegates & Capture