Создание из строки => Enum c# enum Direction { North, East, South, West }; Direction d = (Direction)Enum.Parse(typeof(Direction), "North");