0

I am trying to make an application that let's the user search for a file.

I know how to actually write the code for the file search in the user's computer,

but I want that the results that are found would be printed out "live" / while the user pressing the

keys, entering the file name.


Therefore my question, how to do something like Console.ReadLine(); / Console.ReadKey().KeyChar;

But without "forcing" the user to press enter to "send" the results to that executed code.

Thank you for your time.

DerStarkeBaer
  • 669
  • 8
  • 28
  • You can also use a winforms textbox, there is an event `TextChanged` that fires after every character typed – Charles Mar 11 '20 at 21:54
  • Charles, I am using Console Application as mentioned, not WindowsForms.. I appreciate your answer, but it doesn't help me to know how to do it on another type of project. – Jonatan Fili Mar 12 '20 at 08:26

0 Answers0