Enums are giving me unexplained error -
I have this odd error here my code I do not know how to solve: public static app catalog type in {oTHER ( "other", 1, PROFILE ( "personality", 2), PROFILE_LOCAL ( "PROFILE_LOCAL", 3), PROFILE_SHARED ( "PROFILE_SHARED", 4), PROFILE_WIDE ( "PROFILE_WIDE", 0); private string title; Private Entity number; Private list type (String title, int number) {this.title = title; this.number = number;}
I am getting an error between now) and; ("Projector", 0); To say the error) to complete the body, although in other enums I can not include all this works well) because it will not work. I have tried to clean up and rebuild the project but there is still nothing, any help would be appreciated.
occurring code>) to adding one As you found, <3> PROFILE_WIDE is reported on line because statements semi-ends with a colon, it is arguably the last position where your list can ENUMs that went over only a member of
array (.. (All other rows) ..);
) did not work in that condition because the syntax of the attached
enum is not correct. An initial error syntax made an error - a ""; "Repealing the expression -, and" fixing "the way it was suggested syntax Czech, he leads the high-level syntax error.
) Each sentence compiles everything at creative levels.
Comments
Post a Comment