Hi Guys, This is of no "practical" significance other me having a little time and playing with the various classes in the Framework :).
So, I have tried this but my puny little brain cannot figure it out, how can I implment any interface (just for the sake of argument take IDisposable) and implement it using CodeDom. So using CodeDom how can I say that my Class (say Class1, that is of Type CodeTypeDeclaration) inherit from any interface? Getting something like show below is easy: public class Class1 { // This is the About Method public virtual void About() { System.Console.WriteLine("Hello World!"); } } But, how do I get something like: public class Class1 : IDisposable { // This is the About Method public virtual void About() { System.Console.WriteLine("Hello World!"); } } I could not find any collections where I could add Interfaces. Thoughts? Thanks, Amit. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.