I have a Utils unit in my app which, as of right now, only has a few enums defined, such as:
public enum MostFavoredStates
{
California,
NorthCarolina,
Vermont,
NewMexico
}
public enum LeastFavoredStates
{
NorthDakota,
Illinois,
Nebraska
}
public enum StatesInWhichIHaveResided
{
California,
NewYork,
Montana,
Alaska,
Oklahoma,
Wisconsin,
Idaho,
Missouri
}
When I run ReSharper on my project, it says I need no "using" statements at all in this class; so, I remove them all, and voila! it really does need nothing at all.
"enum" must be declared somewhere - how can it live without a reference to that assembly or namespace? If there's something "baked in" to every class, what is it?