I have the following scenario. I have two collections, one of which is missing. What type of collection will be the fastest to find the missing items and insert them?
HashSet is your friend: http://msdn.microsoft.com/en-us/library/bb359438.aspx
Clone one without elements.
You might want to take a look at the HashSet that has the UnionWith method .
Source: https://habr.com/ru/post/1760753/More articles:How to select individual records by name? - sql-serverSuds Performance - client.factory.create () takes more than 2 minutes - pythonLINQ to XML for a POCO object - c #MSBuild cannot extend environment variables - environment-variablesWhat is the difference between XmlArrayAttribute and XmlArrayItemAttribute? - c #Filter PHP Lame - filterОбратный прокси из nginx не будет запущен. Сайты нормальные - reverse-proxySeparated ListView and ExpandableListView - androidWhat do ASP.NET performance counters mean? - performanceSend keyboard event using subprocess - pythonAll Articles