Nagarro interview question

How to handle the performance issues in c#