日期:2014-05-17 浏览次数:21051 次
class Program
{
static void Main(string[] args)
{
byte[] bt = Properties.Resources.内嵌程序连连看;
MemoryStream mms = new MemoryStream(bt);
Assembly asm = Assembly.Load(bt);
MethodInfo info = asm.EntryPoint;
ParameterInfo[] parameters = info.GetParameters();
if ((parameters != null) && (parameters.Length > 0))
info.Invoke(null, args);
else
info.Invoke(null, null);
}
}