I have a class like this:
public class Meta
{
public string Height { get; set; }
}
I would like to add some things to the class but I'm not sure how to do it. What I would like is for the Height to only be able to be set to either "Tall" or "Short". Maybe more things in the future but for now it would be a choice just between those two. Also I would like it to default to "Short" in the constructor. I think I would need to use an Enums but I am not sure how to do this.
Could someone explain. I would very much appreciate.