HCLTech Interview Question

basic dotnet concepts, few scenario question