Nagarro Interview Question

How to handle the performance issues in c#