Note that it is still not possible to pass or return arrays and structures
It is possible for a method in a library to refer to an array as an argument in the method, and it is actually by reference.
Since structure is an array, it can also be referenced in the method.
The method has strong typing, hence the type of the array must be the same as in the program.
If I want to use a structure which contains various types (say number and string) - it is not accepted by the method and on the other hand it can't be declared in the b4ppc other than leave it as default string.
I tried to declare the items of the structure inside the type declaration but it does not accept it.
I still want to use part of the structure and copy from it within the method, how can I refer to this mixed structure in c# ?
the work around is of course to create in the program another partial structure with only the necessary parts, but this is loading the program.
thanks for any clarifying answer.
Edit: I forgot the other way - to leave it as string and to convert it in the method. I'll try that, but would like to understand more anyway.
Edit: the last idea works.