Ryder System interview question

to write down c# code on the board