IBM interview question

Basic oops and c# Mvc