You're in the middle of a class declaration. You need to declare a field, method etc. For example, this should be fine (if you make ApplicationEnum
public):
private ApplicationEnum foo = ApplicatoinType.Application;
Until you've made ApplicationEnum
public, you'll find that your Application
property will fail to compile - you can't declare a public property of a type which isn't itself public.