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