Can't solve problem with array indexes

Delegate / Action variable capture / value capture:

A very nice summary by Bunny83;