> For the complete documentation index, see [llms.txt](https://andreyakinshin.gitbook.io/problembookdotnet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andreyakinshin.gitbook.io/problembookdotnet/en/linq/closureandfor-s.md).

# “ClosureAndFor” (Solution)

## Answer

```
3
3
3
```

[Problem](/problembookdotnet/en/linq/closureandfor-p.md)
