No difference.
List<List<string>> sets = new List<List<string>>();
for (int rowCount = 0; rowCount < 100; rowCount += 10)
{
List<string> newRow = new List<string>();
sets.Add(newRow);
for (int colCount = 1; colCount <= 10; colCount++)
{
newRow.Add((rowCount + colCount).ToString());
}
}
List<string> output = sets[3].ToList();
jdweng
No comments:
Post a Comment