Infosys interview question

Techinal for . net core