Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

just wondering??

$
0
0
Why does the following code,

Code:

For rec As RectangleF = rectlist.First To rectlist.Last
    'do something here
Next

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?

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>