Infosys interview question

Regarding C# and sql questions