Lennox International Interview Question

Deep dive in c# and oops concepts