Код: Выделить всё
SETTING=VALUE
SETTING2=VALUE2
Код: Выделить всё
string cache = sr.ReadToEnd();
string[] splitCache = cache.Split(new string[] {"\n", "\r\n"}, StringSplitOptions.RemoveEmptyEntries);
Подробнее здесь: https://stackoverflow.com/questions/281 ... in-c-sharp