Genpact interview question

simple dot net question