public override bool DelegatFunction(int m)
        {
            DelegatMethod hander = delegate(int a) { return(a > num); };

            return(hander(m));
        }
예제 #2
0
        public override bool DelegatFunction(int m)
        {
            DelegatMethod del = a => a > num;

            return(del(m));
        }
예제 #3
0
        public override bool DelegatFunction(int a)
        {
            DelegatMethod hander = CompareMethod;

            return(hander(a));
        }