I have a list that gets filled in with some data from an operation and I am storing it in the memory cache. Now I want another list which contains some sub data from the li
Instead of assigning mainList to target, I would do: target.AddRange(mainList);
target.AddRange(mainList);
Then you will have a copy of the items instead of a reference to the list.