public static void ShowResult(DelegateTest.ReturnResult showMethod, Func <double, double, double> calcFun, double d1, double d2) { showMethod("Result: " + calcFun(d1, d2).ToString()); }
public static void ShowResult(DelegateTest.ReturnResult showMethod, string res) { showMethod(res); }