摘要: delegatedoubleCalculateMethod(doubleDiameter); staticCalculateMethodcalcMethod; doubleresult=0; staticvoidMain(string[]args) { calcMethod=newCalculateMethod(Calculate); calcMethod.BeginInvoke(5,newAsyncCallback(TaskFinished),null); } /// ///线程调用的函数 /// publicstaticdoubleCalcula... 阅读全文
posted @ 2012-10-04 16:18 举重-若轻 阅读(111) 评论(0) 推荐(0)