コード例 #1
0
    public static void Main(string[] args)
    {
        method = AnotherClass.OutHoge;
        method += AnotherClass.OutHello;

        method();
    }
コード例 #2
0
    public static void Main(string[] args)
    {
        method = new MethodsAsClass(AnotherClass.OutHoge);
        method += new MethodsAsClass(AnotherClass.OutHello);

        method();
    }