Help with cloning or copying a list
I have a list created within from a container class. The list just contains the field values from the form.
The list is created as below:
List<ProjectEnterpriseCustomFieldContainer> list = EnterpriseCustomFieldsStorege.GetInstance().Projec tEnterpriseCustomFields[
new Guid(application.ActiveProject.GetServerProjectGui d())];
What I want to do is to copy/ clone the list - but it is not as simple as list.clone() !
Every time the form is edited the container is updated, hence the list is also, so I want a way to keep the values when the form is initially loaded.
I hope this makes sense? Does anybody have any ideas how I can do this?