Why is my program showing my else statement when the response is valid? - C#