Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8075463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:59:35+00:00 2026-06-05T14:59:35+00:00

Using VB.Net, I’m looking for best practices in dealing with the following idiom: For

  • 0

Using VB.Net, I’m looking for best practices in dealing with the following idiom:

For i as Integer = 0 To o1.Count - 1
  o1(i).x = o2(i).x
Next

What I really want is something VB.Net doesn’t offer — additional and simultaneous iterators on For Each statements.

For Each m1 As c1 In o1, m2 As c2 In o2
  m1.x = m2.x
Next

I’m interested in both Linq and non-Linq recommendations, comments about Copy method design, comparisions to C# or other languages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:59:36+00:00Added an answer on June 5, 2026 at 2:59 pm

    I submitted a request to extend the For Each statement to implement additional and simultaneous iterators.

    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2923571-allow-additional-clauses-on-for-each-similar-to-c-

    I’m still interested in other solutions but until then, this is the answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using .net 2.0 . I want to display a column in a DataGridView as
Using .NET's Office interop libraries, does anybody know the best way to convert back
using .NET 3.5. I have a function I want to make multithreaded calls to.
Using .Net 4.0 and SQL Server 2008 R2 I have been looking into utilizing
Using .net's setup project, I want to write the location that my software is
Using .NET regular expressions. Let's say I have the following text: ddddddddddd And I
Using .NET 4, what is the best way to save an app's window size
I am using .NET with sql/oracle server. I want to get the schema(datatype,columnname,etc...) of
Using .NET-4.0, how would I use Dynamic to accomplish the following without using reflection?
Using .NET 3.5 I want to determine if the current time falls in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.