Top "Icloneable" questions

Questions regarding .NET ICloneable Interface

Proper way to implement ICloneable

What is the proper way of implementing ICloneable in a class hierarchy? Say I have an abstract class DrawingObject. Another …

c# .net oop icloneable
Why should I implement ICloneable in c#?

Can you explain to me why I should inherit from ICloneable and implement the Clone() method? If I want to …

c# .net cloneable icloneable
Why no ICloneable<T>?

Is there a particular reason why a generic ICloneable<T> does not exist? It would be much more …

c# .net icloneable
Clone a List(Of Class)

I've done some reading and cant seem to wrap my head around what the best approach would be to clone …

vb.net list class clone icloneable
How to workaround missing ICloneable interface when porting .NET library to PCL?

I am porting an existing .NET class library to a Portable Class Library. The .NET library makes extensive use of …

c# generics interface portable-class-library icloneable
How to use ICloneable<T> when T is List<T>?

I have the following: public class InstanceList : List<Instance> {} I would like to make this cloneable. Following the …

c# icloneable