Hi!
Yeasterday, while working on a big web application project, I wanted to copy System.Collections.Generic.Dictionary<TKey, TValue>'s values to a System.Collections.Generic.List<TValue>.
Instead running a loop over the Dictionary<T, K> and copy its values to the List<T>, I used the AddRange(TValues) method.
For example:
Dictionary<int, Job> myDictioanry = new Dictionary<int, Job>();
//Fill the Dictionary...
List<Job> listJobs = new List<Job>();
listJobs.AddRange(myDictioanry.Values);
Hope it will help someone...
see you later