S
shark
Hi,
MethodBuilder.CreateMethodBody creates the body of the method using a
supplied byte array of Microsoft intermediate language (MSIL) instructions.
Is there any way to create and compile method at runtime created from byte[]
of c# code?
i.e.
public int sum(int a, int b)
{
return a+b;
}
How to create such method ?
Thx
MethodBuilder.CreateMethodBody creates the body of the method using a
supplied byte array of Microsoft intermediate language (MSIL) instructions.
Is there any way to create and compile method at runtime created from byte[]
of c# code?
i.e.
public int sum(int a, int b)
{
return a+b;
}
How to create such method ?
Thx