Given the following class:
class A { public List ListB; // etc... }
where B is another class that may inheri
B
Can't you do this?
[Serializable] class A { ... [NonSerialized] public List ListB; .... }
And then refer to How do you do a deep copy of an object in .NET (C# specifically)? for a cloning function