I know this has been covered before but from what I understand in the post this should work.
Example code:
I have a custom type:
public class MyType
{
public List<MySubType> Movie { get; set; }
public List<int> Ranks { get; set; }
public string Location { get; set; }
public string Released { get; set; }
}
I then create a List of this type
List<MyType> myMovies = new List<MyType>();
Later in the code I need to create a copy of this list and change it without affecting the original.
List<MyType> copyMovies = new List<MyType>(myMovies);
But now if I remove from the list within copyMovies
copyMovies.Movie.RemoveAt(x);
It removes from both lists
Unless I am totally missing something this post suggests I should be able to change the copy list without it effecting the original.