probably a really dumb question, but I keep getting the above error with the following code:
public interface IAttributeOption
{
AttributeTypeCode Type { get; set; }
}
You can probably tell, I’m trying to define an interface with a single property.
I know that somebody is BOUND to tell me “an interface is a virtual class, blah blah” and I want to confirm in advance I KNOW THIS! I’m clearly trying to define a property, which as far as I am aware is fine in an interface.
So what is wrong??
Thanks 🙂
There’s nothing wrong with this code. The error you are getting is somewhere else. Just make sure that the
AttributeTypeCodeclass is defined of course.