Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

enum value to string

class Program.
static void Main(string[] args)
{
   Enum wkday = Weekday.Friday;
   Console.WriteLine("Enum string is '{0}'", wkday.ToString());
   Console.ReadKey();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enum #string
ADD COMMENT
Topic
Name
7+7 =