Skip to content

Instantly share code, notes, and snippets.

Created February 27, 2017 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/aaa50516fdd85be6907b189781b0cde7 to your computer and use it in GitHub Desktop.
Save anonymous/aaa50516fdd85be6907b189781b0cde7 to your computer and use it in GitHub Desktop.
var list = new List<int>();
list.AddRange(range);
//list.Count == 12
var dupList = list;
var processedList = ProcessList(list);
//processedList.Count == 8
//dupList.Count == 8 -- why?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment