Net Driven Interview Question

asked me to solve a coding problem.