c# copy object by value code example
Example: c# copy an object
class TestClass
{
public TestClass Copy()
{
return MemberwiseClone();
}
}
class TestClass
{
public TestClass Copy()
{
return MemberwiseClone();
}
}