get enum int c# code example Example: c# get value of object in enum arrayName variable = (arrayName) index //for example Days day = (Days)3;