Syncfusion Interview Question

Basic problem solving in c#