文章分类 -  .net Framework

摘要:using System;using Microsoft.CSharp;using System.CodeDom.Compiler;using System.CodeDom;namespace Test.CUI{ class Program { static void Main() { // 创建编译器对象 CSharpCodeProvider p = new ... 阅读全文
posted @ 2006-03-09 17:37 U2U 阅读(189) 评论(0) 推荐(0)
摘要:收集第一步:添加引用 using System.Reflection; using Microsoft.CSharp; using System.CodeDom.Compiler; 第二步:创建需要编译的代码 string MyCodeString=@" public class MyTest { public static string GetTestString() {... 阅读全文
posted @ 2006-02-17 20:13 U2U 阅读(1577) 评论(2) 推荐(0)