Error cs1022

@Zapp36

Probably not a good idea to post your question into some old thread, even if you got the same error.

Usually it is best to start you own thread and use code tags .

But in this case, if you actually had read the posts, you would have found out the reason for your error…

And If you had used code tags and your code was properly indented, it would be obvious you are missing (at least) a “{” in the beginning of your class definition.