YLD interview question

The question was to refactor .NET API