I have 2 arrays, FileList1 and FileList2. As I compare the 2, I want to delete any entries in FileList1 that are also in FileList2.
I found an answer at http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_23721653.html
but I get the error "RemoveAt is not a member of System.Array"
It seems to have worked for a previous questioner so why not for me?
I am using Visual Studio Express 2008, (Visual Basic).
Dim FileList1(count1) As String ' Count1 is determined by some previous code
Dim FileList2(count2) As String ' Count2 is determined by some previous code
' Code to populate the arrays
If FileList1.Count > FileList2.Count Then
For i As Integer = FileList1.Count - 1 To 0 Step -1
For x As Integer = FileList2.Count - 1 To 0 Step -1
If FileList2(x).ToString = FileList1(i).ToString Then