System.FormatException 'Input string was not in a correct format.' - Correct format is entered - C#