Hi
In my sample program I have the below three statements
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
and in Main()
and I am able to create a new type called myclass using the below line
CodeTypeDeclaration myclass = new CodeTypeDeclaration("myclass");
however when i delete the statement "using System.CodeDom" from the above code, i am not able to call the below statement
CodeTypeDeclaration myclass = new CodeTypeDeclaration("myclass");
Why is it so?
I mean doesnt System.CodeDom.Compiler include everything that is there in System.CodeDom because as I see it System.CodeDom.Compiler derives directly from System.CodeDom so why do i need to separately call System.CodeDom and System.CodeDom.Compiler
Regards,
Srinivasan