public delegate int workHandler(int hours, string str);
private static int delegate_One (int h, string s){
Console.WriteLine("Hello delegate_One: " + h);
private static int delegate_Two (int h, string s){
Console.WriteLine("Hello delegate_Two " + h);
public static void Main()
Console.WriteLine("Hello World");
workHandler w1 = new workHandler(delegate_One);
workHandler w2 = new workHandler(delegate_Two);
static void OutsideMethod(workHandler work)
int returnValue = work(10,"DD");
Console.WriteLine("Return value will be from the last method invoked: " + returnValue);