C
csharpdummy
I would like to add a clone method in a constructor.
I tried the following, but it doesn't work.
public test(MyClass A)
{
this=A.Clone();
}
Is there a way to do this?
How would that look like for a base vs. derived class?
Thanks
I tried the following, but it doesn't work.
public test(MyClass A)
{
this=A.Clone();
}
Is there a way to do this?
How would that look like for a base vs. derived class?
Thanks