复制代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WinInterfaceCallBackVs08
{
    class Class1
    {
        public Class1()
        { 
            new Action<string>((s) => { }).BeginInvoke("", null, null);

            new Action<string>(exSql).BeginInvoke("", null, null);
        }
        public void exSql(string sql) { }
    }
}
复制代码

 

复制代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WinInterfaceCallBackVs08
{
    class Class1
    {
        public Class1()
        { 
            new Action<string>((s) => { }).BeginInvoke("", null, null);
        }
    }
}
posted on 2013-06-07 15:00  王洪洪  阅读(498)  评论(0编辑  收藏  举报