Could somebody tell me how I can make a text that the player can click so a Console.WriteLine will be executed?
I’m using Console application in C#.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t capture mouse events in a console application (without low-level windows API hooks), so you can’t do this.
My suggestion is to make it a WinForms or WPF application, and include a textbox which is your console window.
Maybe take a look at ShellControl.