Infosys Interview Question

Technical question regarding basic C# question