示例#1
0
    static void Main(string[] args)
    {
        TestPointer test = new TestPointer();

        test.function1(() => test.function2());           // Error here: The name 'function2' does not exist in     current context

        Console.ReadLine();
    }
示例#2
0
    static void Main(string[] args)
    {
        TestPointer test = new TestPointer();

        test.function1();
    }