i need to be able to create a dynamic C# function on the fly on an existing
type that exists within an assembly already loaded into memory. basically,
the body of this dynamic function will be loaded from an external source
(e.g. a file).
how can i best accomplish this task?
thanks for all your help,

Signature
Ben Callister
Stephan Brenner - 07 Jun 2007 21:34 GMT
The best is to use System.CodeDom.
An example is here:
http://msdn2.microsoft.com/en-us/library/system.codedom.codecompileunit.aspx
> i need to be able to create a dynamic C# function on the fly on an existing
> type that exists within an assembly already loaded into memory. basically,
[quoted text clipped - 4 lines]
>
> thanks for all your help,