do anyone know simple example of stub and builder?
|
C#
How to make Stub and Builder in c#? |
|
Oct 24, 2019 04:38 PM
(This post was last modified: Oct 24, 2019 04:42 PM by MavenGradle.)
Your answer can be found here:
https://hackforums.net/showthread.php?tid=6017968 More specifically starting from this post to the end: https://hackforums.net/showthread.php?ti...id59072639 Except you'll have to forget about loading the assembly in memory since you'd be compiling to disk. So in essence you have two options. You can use CodeDOM to compile your applications, or Roslyn using the SyntaxTree API. An excellent comparison between the two can be found on stack overflow (do note this comes from a Microsoft employee): https://stackoverflow.com/a/7854697 ![]() |
|
|



![[Image: vp6iypF.gif]](https://i.imgur.com/vp6iypF.gif)