Esempio n. 1
0
        public void InstanceDelegateTest()
        {
            var delegateBasic = new DelegateBasic();

            reference += delegateBasic.SayYourNameInstance;
            reference();
        }
Esempio n. 2
0
        public void MuliticastDelegateTest()
        {
            var delegateBasic = new DelegateBasic();
            reference += delegateBasic.SayYourNameInstance;

            reference += DelegateBasic.SayYourName;
            reference();
        }