возникла ошибка ArgumentException: Элемент с тем же ключом уже был добавлен при добавлении словаря
Сам словарь, при котором вознила ошибка.
public static Dictionary<string, string> portrait_screenOrientation = new Dictionary<string, string>
{
{@"android:screenOrientation=\""fullUser\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""sensorLandscape\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""landscape\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""sensorLandscape\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""sensorPortrait\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""user\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""locked\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""fullSensor\""",
"android:screenOrientation=\"portrait\""},
};
public static Dictionary<string, string> portrait_screenOrientation = new Dictionary<string, string>
{
{@"android:screenOrientation=\""fullUser\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""sensorLandscape\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""landscape\""",
"android:screenOrientation=\"portrait\""},
//{@"android:screenOrientation=\""sensorLandscape\""",
// "android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""sensorPortrait\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""user\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""locked\""",
"android:screenOrientation=\"portrait\""},
{@"android:screenOrientation=\""fullSensor\""",
"android:screenOrientation=\"portrait\""},
};
Кофе для программистов: как напиток влияет на продуктивность кодеров?
Рекламные вывески: как привлечь внимание и увеличить продажи
Стратегії та тренди в SMM - Технології, що формують майбутнє сьогодні
Выделенный сервер, что это, для чего нужен и какие характеристики важны?
Современные решения для бизнеса: как облачные и виртуальные технологии меняют рынок
Использую OpenXML SDK для последующего формирования word файла на с#, полученный сформированный файл имеет расширениеdocx и без проблем открывается...
Написал программу, которая должна работать круглосуточно, поставил ее на ноутбук
Как правильно осуществить перегрузку и использовать в дальнейшем данный логический оператор «!»Если сравнивается следующие: если заданная...
есть такой код, который должен рассчитывать по данным стоимость домана сайте это выглядит как два селекта и поле для ввода метража