a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
176 B
C#
12 lines
176 B
C#
using System;
|
|
|
|
public class Testing
|
|
{
|
|
public enum Fruit { Apple, Orange };
|
|
|
|
public static void Main()
|
|
{
|
|
Console.WriteLine(Convert.ToInt64( Fruit.Orange as Enum ) );
|
|
}
|
|
}
|