Hello; I need to create a copy of an object, not just a reference to it. Is there anyway to do this? These were the first things I came up with:
Code:
object copy = ((ICloneable)original).Clone();
object copy = new object(original);
but alas, objects don't implement the ICloneable interface, nor do they have a copy constructor. What's a boy to do?