comparing fields in arraylists in VB.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • steve

    #1

    comparing fields in arraylists in VB.net

    I'm looking for a code example how to compare the values in a given record in different arraylists

    two arraylists, two fields in each record, both defined as string

    I'm thinking that it's something like



    If ((fieldname)arr ay1(x)) == ((fieldname)arr ay2(x)) Then do something, where x is an integer used for the index/record or possibly

    If (array1(fieldna me)(x)) == ((array2(fieldn ame)(x)

    I just haven't worked out the syntax



    thanks




    From http://www.developmentnow.com/g/38_2...nguages-vb.htm

    Posted via DevelopmentNow. com Groups
    DevelopmentNow is an award-winning creative software development agency integrating mobile, web, hardware, mixed reality, and emerging technology.

Working...