Why does the following code,
generate an error (in intellisense) "value of type Integer cannot be converted to type RectangleF"
The "rectlist" variable is a List(Of RectangleF).
Do the First and Last methods refer only to indices?
Code:
For rec As RectangleF = rectlist.First To rectlist.Last
'do something here
NextThe "rectlist" variable is a List(Of RectangleF).
Do the First and Last methods refer only to indices?