CSharpCodeProvider::CreateCompiler Method ()

Note: This API is now obsolete.

Gets an instance of the C# code compiler.

Namespace:   Microsoft.CSharp
Assembly:  System (in System.dll)

[ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")]
virtual ICodeCompiler^ CreateCompiler() override

Return Value

Type: System.CodeDom.Compiler::ICodeCompiler^

An instance of the C# ICodeCompiler implementation.

.NET Framework
Available since 1.1
Return to top