Another way to serialize the entire object and then deserialize again, try this extension method:
public static T DeepClone<T>(this T source) { if (!typeof(T).IsSerializable) { throw new ArgumentException("The type must be serializable.", "source"); }
USING
List<List<CustomClass>> foobar = GetListOfListOfCustomClass(); List<List<CustomClass>> deepClonedObject = foobar.DeepClone();
source share