Вот мой код:
Код: Выделить всё
for (int i = 0; i < columnCount; i++)
{
row[i] = Regex.Replace(row[i], "~", "\"");
}
Код: Выделить всё
~~Generator~~
Код: Выделить всё
""Generator""
Код: Выделить всё
row[i] = Regex.Replace(row[i], "~", "\"");
Код: Выделить всё
"\"\"GENERATOR\"\""
Код: Выделить всё
row[i] = row[i].Replace("~", "\"");
Код: Выделить всё
"\"\"GENERATOR\"\""
Подробнее здесь: https://stackoverflow.com/questions/789 ... in-c-sharp
Мобильная версия