Agilysys Interview Question

regarding OOPS and C# and SQL