Microchip Technology interview question

They gave one problem statement and asked me to design with c# coding.