C# Enums get and set accessor expected

Does anybody know why I am getting the “get and set accessor expected” error on InAndOut when creating a enum like so…

using System;

public static struct TargetFinding
{
    public Enum View
    {
        InAndOut,
        In,
        Out
    }
}

I think you need an endline when closing your enum. Add a ; after the first } in your script. I also believe there’s no need to declare it as public. But I’m no hero when it comes to C#, so I may be way off.

Sorry I was using Enum instead of enum…