I can not complete this list, as it is:
foreach (var item in text)
{
string[] linha = item.Split('\n');
foreach (var i in linha)
{
string nova_string = i.Substring(0, i.LastIndexOf("\r"));
lista.Add(nova_string);
}
}
You're giving this error:
Length can not be less than zero. Parameter name: length