Change an instance by its method..

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ozz

    #1

    Change an instance by its method..

    public class myXml:XmlDocume nt

    {
    public myXml()
    {

    }
    public void setIt()
    {
    this=(this)(new XmlDocument());
    }
    }

    as you can see , i tried to change myXml instance(itself ) over its
    constructor or its method ..
    is it possible?


Working...