|
-
Mar 31st, 2021, 03:26 PM
#4
Re: Giving values to a series of user control internal controls
If it really was just three, I'd be inclined not to use a loop at all, but to write it out. If it was more than three, I'd probably have them in some kind of collection, which would either be a Dictionary or a List. In that case I would prefer a For Each if it made sense to do so, but it often won't, as Delaney noted, in which case there is nothing wrong with the For Next, in terms of performance.
My usual boring signature: Nothing
 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|