Agilysys Interview Question

Parse function of C#