private static void DelegateExample() { Calculator calc = new Calculator(); AddFunction func = calc.Add; Console.WriteLine(func.Invoke(1, 2)); }