Ok, into strings. I seperted them with comma. You can do it your way:
string list1 = null;
string list2 = null;
using (System.IO.StreamReader sr = new System.IO.StreamReader(@"writePathHere"))
{
while (!sr.EndOfStream)
{
string line = sr.ReadLine();
string[] arrayLine = line.Split(';');
for (int i = 0; i < arrayLine.Length; i++)
{
string value = arrayLine[i];
if (i < arrayLine.Length)
list1 += value + ", ";
else
list1 += value;
string[] arrayValue = value.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
for (int j = 0; j < arrayValue.Length; j++)
{
string item = arrayValue[j];
if (j < arrayValue.Length)
list2 += item + ", ";
else
list2 += item;
}
}
}
}