Anburaj Marikkani
New member
- Joined
- Jul 29, 2020
- Messages
- 2
- Programming Experience
- 3-5
I try to Covert the List<> value to Enum but i'm Failed.
List<string> lstDays = new List<string> { "Monday", "Tuesday ", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
Need Enum like
Please can help?
List<string> lstDays = new List<string> { "Monday", "Tuesday ", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
Need Enum like
C#:
enum lstDays
{
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday
}
Please can help?
Last edited by a moderator: