c# how to move my string on the console with enum code example Example: convert int to enum c# YourEnum foo = (YourEnum)yourInt;