示例#1
0
    public static void Main(string[] args)
    {
        SomeEnum someEnum = SomeEnum.Dog;

        Console.WriteLine("SomeEnum Result: " + someEnum.ToString
                              ());
    }
示例#2
0
 public EnumCounter(SomeEnum val)
 {
     Value = val.ToString();
 }