I am not sure what is wrong with your code. I have similar logic working perfectly well on my machine.
If you put a breakpoint on the Console.WriteLine it is never reached?
Linvi
If you put a breakpoint on the Console.WriteLine it is never reached?
Linvi