Try comparing with the following sentence:
The Is operator is not adequate when comparing two String variables. According Microsoft’s documentation:
Is Operator − It compares two object reference variables and determines if two object references refer to the same object without performing value comparisons.
In this cases, it’s better to use some native String comparators.
You can also just use the “=” - operator. Then it’s working properly.
I know that this is an option. But im wondering why this if statement goes into the Else sequence.
Because if I use “Isnot” then it goes into the Then sequence.