c# create exact copy of item code example
Example: c# copy an object
class TestClass
{
public TestClass Copy()
{
return MemberwiseClone();
}
}
class TestClass
{
public TestClass Copy()
{
return MemberwiseClone();
}
}