Solution for "get value from enum by name c#"

string name=(weekdays)2;//returns weekdays which has value 2.Here weekdays is enum name

c# get enum name from value

Similar codes for "get value from enum by name c#"


Latest 'C#' questions

Added before "get value from enum by name c#"