5
Answers

Created an array several times in a loop!

Dave

Dave

10y
870
1
Hi,
Very strange, this code works:
  for (int i = 0; i < nItems; i++)
  {
  string[] parts = items[i].Split('\t');
  ......
  }
It looks the same string array "parts" is created nItems times but without any error, or C# clever enough to created only onece?

Answers (5)