vendredi 22 mai 2015

insert/Inject an Object to string code

I have a C# code generated dynamically using System.CodeDom.CodeCompileUnit in runtime, I compile it using Microsoft.CSharp.CSharpCodeProvider , What I want is to insert an already defined & initialized Variable(an ArrayList) to this string so I could use it before compile , How should I do this? Thanks for any help in advance,





Aucun commentaire:

Enregistrer un commentaire