Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Advanced Console I/O [duplicate]

Tags:

c#

io

console

I have multiple I/O tasks that I want to do with a console:

  • Print out standard, non-editable text (Console.WriteLine())
  • Print out text that the user can edit (?)
  • Allow the user to type, and be able to output text via the two methods above (?)
    • It would be nice if I could do password masking too.

Anybody have any solutions?

like image 403
Entity Avatar asked Jan 21 '23 14:01

Entity


1 Answers

Edit text like in a console-based text editor?

I think all that you need is in the Console class, have a look at its members:

http://msdn.microsoft.com/en-us/library/system.console.aspx

like image 123
Gabriel Magana Avatar answered Jan 30 '23 09:01

Gabriel Magana