The dictionary contains the same reference to the list, so modifying the list will change both references.
Microsoft documentation about reference types: http://msdn.microsoft.com/en-us/library/490f96s2.aspx
More Related Contents:
- From Dictionary to List
- Create a dictionary from a string by separating the string using a word
- How to iterate over a dictionary?
- How do you sort a dictionary by value?
- Multi-key dictionary in c#? [duplicate]
- Tuples( or arrays ) as Dictionary keys in C#
- C# Store functions in a Dictionary
- How can I deserialize JSON with C#?
- DataGridView bound to a Dictionary
- C# JSON Serialization of Dictionary into {key:value, …} instead of {key:key, value:value, …}
- Convert Dictionary To Anonymous Object?
- POST json dictionary
- Why doesn’t Dictionary support null key? [duplicate]
- SortedList, SortedDictionary and Dictionary
- Newtonsoft Json Deserialize Dictionary as Key/Value list from DataContractJsonSerializer
- Does C# have a way of giving me an immutable Dictionary?
- Convert list to dictionary using linq and not worrying about duplicates
- How to bind Dictionary to ListBox in WinForms
- Throw a NullReferenceException while calling the set_item method of a Dictionary object in a multi-threading scenario
- Recreating a Dictionary from an IEnumerable
- Enum to Dictionary in C#
- How to convert object to Dictionary in C#?
- LINQ query to return a Dictionary
- How is the c#/.net 3.5 dictionary implemented?
- Accessing a Dictionary.Keys Key through a numeric index
- Composite Key Dictionary
- Filtering out values from a C# Generic Dictionary
- What benefits does dictionary initializers add over collection initializers?
- Convert an array to dictionary with value as index of the item and key as the item itself
- Hashtable to Dictionary syncroot .