Kinaxis interview question

Solve some basic C# problems on paper