I have classes that are needed in both my web service and my server.
For example, I have a class named Order
that I'd like to send from my server to the web service and vice-versa.
Problem is that the class in the server is Order
and the one on the web service is localhost.Order
, and it is impossible to convert between them, even though they are built from the very same code. Error is cannot convert from 'Order[]' to 'localhost.Order[]'
.
What can I do? Thank you very much.