I have a vb.net app that I want to use to make a call to a c# function that has a collection of class objects as a parameter. I have tried constructing a class with the same structure in the vb.net app and declaring a list of objects populating them with data and passing these into the c# class but I get a conversation error
List(of AddressClass) cannot be converted to List(Of AddressClass)
Is it possible to achieve this? If so, then how?
The function is:
public static string callMain(List<AddressClass[]> Addresses)
{
// code.......
}