static void Main(string[] args) { EvenInt num = new EvenInt(); num.Changed += new EvenInt.CallbackFun(num_Changed); num.Changed += new EvenInt.CallbackFun(num_Changed2); num.Value = 20; num.Value += 10; }
static void Main(string[] args) { EvenInt num = new EvenInt(); num.Changed += new EvenInt.CallbackFun(num_Changed); num.Changed += new EvenInt.CallbackFun(num_Changed2); num.Value = 20; num.Value += 10; }