Answer the question
In order to leave comments, you need to log in
How can I make it write to a file when pressing backspace?
How to make that when you press backspace, there would be a write to a file in c #?
On c# console
Answer the question
In order to leave comments, you need to log in
var key = Console.ReadKey();
if(key == ConsoleKey.Backspace)
WriteDataToFile();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question