For example it contains such data:
- Code: Select all
[0] Some string #1
[1] Some string #2
[2] Some string #3
Then I call RemoveAt on DatabaseObject(dbo) containing that array:
- Code: Select all
dbo.GetArray("myArray").RemoveAt(1);
And then sometimes I receive such structure:
- Code: Select all
[0] Some string #1
[2] Some string #3
So when I try to iterate this array it says that it's lenght is 2, but it doesn't contains "1" element so iteration fails.
Any suggestions?