I want to add dynamically created type in C# RRS feed

  • Question

  • Hi All,

    Actually i have class its name is MessageA. I would to create dynamically the type which is derived from MessageA and its name should be MessageB and also it should contain below two methods. All has do dynamically by using reflection.


           public MessageB()
                : base()
                // Vide

    public override string ToString()

                return "Message OK";


    Note: The MessageB Type should gets create in the same assembly where MessageA was existed.

    Your help is really appreciate.

    Thanks in advance,


    click "Proposed As Answer by" if this post solves your problem or "Vote As Helpful" if a post has been useful to you Happy Programming! Hari

    Friday, October 9, 2015 12:47 PM


All replies