Practice · 1 of 2
Compose a Pipeline
CHALLENGE
Difficulty: intermediate+25 XP
Implement Compose: given a list of Func<int, int>, return one function applying them IN ORDER (first element first). Empty list = identity.
``csharp
static Func<int, int> Compose(List<Func<int, int>> steps);
``
Press Submit to check your solution.
Back to lesson: Practice: Composition & Callback Practice