SSP Innovations interview question

Recursion, swapping values in a list, c# syntax