#include "stdafx.h"using namespace System;enum class Ordinal : char{ zero, one, two, three};int main(){ char c1 = 3; char c2 = 1; Ordinal ord1 = safe_cast(c1); Console::WriteLine(ord1.ToString());}