摘要:
//public event SecondChangeHandler OnSecondChange; 若将委托加上event,则视作是事件,不是委托,外围就不能直接对OnSecondChange传值using System;using System.Collections.Generic;using... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace Starter{ public enum Comparison ... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;//如果账户金额小于0 触发事件namespace Starter{ public ... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;//如果账户金额小于0 触发事件namespace Starter{ public ... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;//异步调用//returntype EndInvoke(ref_out_argument... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;//异步调用//IAsyncResult BeginInvoke(argument,Asy... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Delegate{ public delegate int Myfunction(ref int refCou... 阅读全文
摘要:
值参数不能加,引用参数可以。引用参数是共享的using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Delegate{ public delegate void My... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Delegate{ public delegate void Myfunction(); class P... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Delegate{ public delegate void Myfunction(); class P... 阅读全文