2.36.8.Enumerations Initialization with calculation
using System;
enum Values
{
A = 1,
B = 2,
C = A + B,
D = A * C + 33
} class MainClass
{ public static void Member(Values value)
{
Console.WriteLine(value);
} public static void Main()
{
Values value = 0;
Member(value);
}
}