Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to provide Console input to when running Linqpad?

Within LinqPad I can use things like

Console.ReadKey(); 

OR

Util.ReadLine();

But how do you run these in such a way you can actually enter the input?

The UI doesn't have a console window!

like image 529
Choco Avatar asked Mar 02 '23 02:03

Choco


1 Answers

Using Util.ReadLine() gives you a black box at the bottom of the window to input your...input

enter image description here

like image 178
user2051770 Avatar answered Apr 06 '23 19:04

user2051770