delegate types in c# code example Example: delegate declaration in c# public delegate int PerformCalculation(int x, int y);