//Заполнение таблицы служебных слов private void FillServiceWordsTable() { Dictionary <string, string> serviceWordsTable = scanner.GetServiceWordsTable(); foreach (string serviceWord in serviceWordsTable.Keys) { dgvServiceWords.Rows.Add(serviceWord, serviceWordsTable[serviceWord]); } }