M
Michael Tholkes
Hello,
I have a web service project with an enum like this:
public enum EventType{ AppStart=1, AppEnd=2}
In a console app, I cast EventType.AppStart as an int and the value is zero
and not one!!!
Is there anything I can do to get it to work correctly on the client? The
same enum works fine in the a class that uses it in the same web service
project.
Thanks in advance,
Mike
I have a web service project with an enum like this:
public enum EventType{ AppStart=1, AppEnd=2}
In a console app, I cast EventType.AppStart as an int and the value is zero
and not one!!!
Is there anything I can do to get it to work correctly on the client? The
same enum works fine in the a class that uses it in the same web service
project.
Thanks in advance,
Mike