title: Passing ArrayList from VB.Net to C# WebServices
body: <p>I've got the unenviable task of cleaning up a rather messy VB.Net client. The general plan is to move all calculations to WebServices, and I can see exactly how to do this, but it involves passing a large number of different variables to the WebServices.</p>
  
  <p>I chose to use an ArrayList as I've worked with them heavily in Java, and have had no issues passing ArrayLists between the C# (ASMX) WebService and a C# client (Windows Forms-based).</p>
  
  <p>However, the VB.Net client app doesn't want to pass the ArrayList into the WebServices, giving a compiler error "Value of type 'System.Collections.ArrayList' cannot be converted to '1-dimensional array of Object'."</p>