Category "console-application"

How to show message box on .net core Console application?

I'm developing .net core console application. I want to alert to user when want to exit application. Like below; MessageBox.Show("Contiue or not", "Question",

.NET console application as Windows service

I have console application and would like to run it as Windows service. VS2010 has project template which allow to attach console project and build Windows serv

C# arrow key input for a console app

I have a simple console app written in C#. I want to be able to detect arrow key presses, so I can allow the user to steer. How do I detect keydown/keyup even