© { JSL }
99
Text Box: Instance Method
Instance Method
Folded Corner:
·a delegate instance...
wcan hold and call an instance method
delegate void Func(string s);
...
class Test
{
    void Stash(string s)
    {
        ...
    }
    void NotMain(string[] args)
    {
        Eg.ForAll(args, new Func(this.Stash));
        Eg.ForAll(args, new Func(Stash));
    }
}