Typescript String Type Vs Enumerator In C