コード例 #1
0
        public void EighthDelegateMethod(EighthDelegate methodF, EighthDelegate1 methodString1, EighthDelegate2 methodString2)
        {
            EighthDelegate  eighthDelegate  = methodF;
            EighthDelegate3 eighthDelegate3 = eighthDelegate.Invoke(new EighthDelegate1(methodString1), new EighthDelegate2(methodString2));

            Console.WriteLine(eighthDelegate3.Invoke());
        }
コード例 #2
0
 public static EighthDelegate3 MethodF(EighthDelegate1 eighthDelegate1, EighthDelegate2 eighthDelegate2) =>
 () => eighthDelegate1.Invoke() + eighthDelegate2.Invoke();