Hi, I got a liiitle problem.
There is
List<List<UInt32>> temp = new List<List<UInt32>>();
For example,
there are two List<UInt32>
records within the List temp however, when i try to do something like temp.removeAt(0);
it doesn't remove the first row (List<UInt32>
) .. Why is that? Do i do something wrong?
Update
Here is the code that doesn't work. I know there are 2 List<UInt32>
within the main List and I know that the first List<UInt32>.Count
is 1 but when I check the same position after this code, the first code's Count is still one.
int i = 0;
bool boolA = true;
while (boolA)
{
if (temp[i].Count == 1)
{
temp.RemoveAt(i);
temps++;
}
if (i == temp.Count - 1) boolA = false;
i++;