foreach (Match m in Regex.Matches(myString, DescriptionTag))
{
MatchCollection mc = Regex.Matches(myString, DescriptionTag);
for (int i = lst.Count; i < mc.Count; i++)
{
lst.Add(mc[i].Groups[1].ToString());
}
}
for (int i = 0; i < lst.Count; i++)
{
MessageBox.Show(lst[i].ToString());
}
lst[2] is okay with 173 characters string. But it is passing directly to lst[3] as lst[2] when string is 1,227 characters. I think my code doesn't read at that character size.
"to code or not to code!"