[Solved] Use Enum values as Properties in


I’m not sure what is your question, but as @crashmstr commented .. it seems you don’t need an Enum but you just need a class to hold these properties

Any way you can use this BUT IT’S NOT A GOOD PRACTICE
and I don’t know what do you want the setter to do

public string Name
        {
            get
            {
                return MovieData.Name.ToString();
            }
        }

        public string Type
        {
            get
            {
                return MovieData.Type.ToString();
            }
        }

        public string Size
        {
            get
            {
                return MovieData.Size.ToString();
            }
        }

        public string Description
        {
            get
            {
                return MovieData.Description.ToString();
            }
        }

        public string ReleaseDate
        {
            get
            {
                return MovieData.ReleaseDate.ToString();
            }
        }

solved Use Enum values as Properties in