Skip to content

Instantly share code, notes, and snippets.

@tuananh
Created August 11, 2011 05:45
Show Gist options
  • Select an option

  • Save tuananh/1138986 to your computer and use it in GitHub Desktop.

Select an option

Save tuananh/1138986 to your computer and use it in GitHub Desktop.
System.CodeDom.Compiler.ICodeGenerator gen = new CSharpCodeProvider().CreateGenerator();
gen.GenerateCodeFromNamespace(ns, sw, new System.CodeDom.Compiler.CodeGeneratorOptions());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment