Answers for "enums as strings c#"

4

c# string enum

public static class Status
{
    public const string Awesome = "Awesome";
    public const string Cool = "Cool";
}
//Not an enum but has a similar effect without needing to convert ints
Posted by: Guest on November-12-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language