I have a program I am writing to compare an external file list of names to a user entered name.
While I am typing in a name from the list, exact to case, it is still returning a false boolean value on the match,
I even created System output lines to confirm the values match and yet I cannot get it to return true.
Ive tried equals. and equals.IgnoreCase() as well and while the case is identical on the Strings, I cannot get it to return TRUE.
I understand there may be other ways to approach this program, I have to try to use the processes we have learned in our course (which I have mentioned here) if I can, even if there is a better way of doing it. I'm assuming I will learn that in the next course.
I'm just trying to understand what I am not understanding properly.