make o copy of an object in c# code example
Example: c# copy an object
class TestClass
{
public TestClass Copy()
{
return MemberwiseClone();
}
}
class TestClass
{
public TestClass Copy()
{
return MemberwiseClone();
}
}