calculate sum and product using delegate

Delegate A delegate is the representative of a class. The main feature or quality of Delegate is that it can call any method of a class. To use Delegate in C#, you have to give the signatures of the delegate using…