comparing fields in arraylists in VB.net

Visual Studio188
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)array1(x)) == ((fieldname)array2(x)) Then do something, where x is an integer used for the index/record or possibly



If (array1(fieldname)(x)) == ((array2(fieldname)(x)



I just haven't worked out the syntax







thanks







From www.developmentnow.com/g/38_2004_4_0_7_0/dotnet-languages-vb.ht



Posted via DevelopmentNow.com Group

www.developmentnow.com


-