Pergunta de entrevista da empresa DXC Technology

Question on oops and C#