Skip to content

Instantly share code, notes, and snippets.

@tuananh
Created August 11, 2011 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuananh/1138990 to your computer and use it in GitHub Desktop.
Save tuananh/1138990 to your computer and use it in GitHub Desktop.
System.CodeDom.Compiler.CodeDomProvider provider = System.CodeDom.Compiler.CodeDomProvider.CreateProvider("CSharp");
provider.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