Monday, 26 August 2024

Enum C#

public  enum BranchCode
{

            Branch1=1,

            Branch2,

            Branch3

}

Console.Write(((int)BranchCode.Branch2));