I'm evaluating the use of dot42 framework to target android using C#.. So while going through what dot42 can and can't do, I got stuck with the following casting not working.. throws Java expression error.
public enum Days { Sat = 1, Sun, Mon }
Days day = Days.Sun;
int dayNumber = (int)day; // <----- Throws Error
Is there any way around this ?
Thanks...