Infosys interview question

OOPS Concept .Net Core Concepts