After setting "Console.TreatControlCAsInput = true" while loop needs twice return to read Input,...

  • Thread starter Thread starter Kerem Gümrükcü
  • Start date Start date
K

Kerem Gümrükcü

Hi All,

i am too tired now to find this out by my own, but why does
my while loop "while(readline==Console.ReadLine())" needs
twice return hit to read the line, after setting
"Console.TreatControlCAsInput = true". How can i make it
work like it would be set to "false", so that i only must hit the
return once to get the input,...

TIA

Regards

Kerem

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top