Dears,
I am having a problem with List.IndexOf method
In my code I have an istruction
Dim pChunk As Int = readChunkAbsIndex.IndexOf(firstChunkIndex)
where firstChunkIndex is an Int variable (function parameter) equal to 1,
and 1 is the unique element in readChunkAbsIndex list.
...but pChunks is assigned to -1
Please, see the three attachements
Hence, please explain me how IndexOf works.
Kind Regards,
Mauro.
I am having a problem with List.IndexOf method
In my code I have an istruction
Dim pChunk As Int = readChunkAbsIndex.IndexOf(firstChunkIndex)
where firstChunkIndex is an Int variable (function parameter) equal to 1,
and 1 is the unique element in readChunkAbsIndex list.
...but pChunks is assigned to -1
Please, see the three attachements
Hence, please explain me how IndexOf works.
Kind Regards,
Mauro.