I am trying to solve the Time Conversion problem of HackerRank in C#. Basically, you are given a string in AM/PM format and you need to convert it to military time (24 hours