Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2007

Tip: Looking for answers? Try searching our database.

ReadLine needs twice Return Hit after Console.TreatControlCAsInput = true;

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kerem Gümrükcü - 09 Dec 2007 19:49 GMT
Hi,

i am not a friend of crossposting, but this is a exception here.
Either i dont get it or whatever, can someone tell me, why
the Console.ReadLine() needs twice Enter hit, after the
Console.TreatControlCAsInput = true; has been set and
how can i avoid this with Console.TreatControlCAsInput = true;
leaving the TreatControlCAsInput as "true",..

Why does this break its behaviour,...?

Regards

Kerem
Peter Duniho - 09 Dec 2007 23:12 GMT
> Hi,
>
> i am not a friend of crossposting, but this is a exception here.

You didn't cross-post.  You multi-posted.  You _should_ have cross-posted,  
had it been necessary to put the message in multiple newsgroups.

> Either i dont get it or whatever, can someone tell me, why
> the Console.ReadLine() needs twice Enter hit, after the
[quoted text clipped - 3 lines]
>
> Why does this break its behaviour,...?

This was already answered for you in the C# newsgroup.  You should go look  
at the reply there.

The short answer: it's a known bug.

Pete

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.