© { JSL }
98
Text Box: static Method
static Method
Folded Corner:
·a delegate instance...
wcan hold and call a static method
delegate void Func(string s);
...
class Test
{
    static void Display(string s)
    {
        ...
    }
    static void Main(string[] args)
    {
        Eg.ForAll(args, new Func(Test.Display));
        Eg.ForAll(args, new Func(Display));
    }
}
note no ( )
create a delegate instance