arrays - VB.NET For loop adding extra character -
I do not really know how the error ... CODE:
AnagramSolver does not input btnSolveAnagram.If the input as the Private Input Chase (), as the four private sub-btnSolveAnagram_Click (object as the sender, and EventArgs). Lesson Length and lt; = 1 then input for input (input.Text.Length - 1) = 1 input.Text.Length 'an array input chars (i-1) = meridian (input text, i, 1) from each letter string ("Anagram should be at least 2") End if the ending class
I use the next loop to move through a string and each character Put in an array. But when I'm debugging from the clock window, each element of an additional character array is in it. I have array elements in this clock window (4) = "E" C (4) = "S" c < / Pre>
I do not know where any additional 'C' is coming from any help?
These are not part of the 'C' value, this is only the represantation of the debugger. .
It prints them so that you know that this is a char "j"
, not a string "j"
. As such, your code does not have any effect on how it works.
Comments
Post a Comment