Почему ошибка Error 52 Аргумент 1: не удается преобразовать из 'System.Collections.Generic.Dictionary>' до 'System.Collections.Generic.IDictionary>'Ошибка: Не удается преобразовать из словаря в IDictionary
Dictionary<string, List<string>> tempResultIDList = new Dictionary<string,List<string>>();
test(tempResultIDList);
public bool test(IDictionary<string,IList<string>> a)
{
return true;
}
Возможный дубликат [Конвертировать общий словарь в другой тип] (https://stackoverflow.com/questions/702588/convert-generic-dictionary-to-different-type) –