有什么办法可以实现吗?我想传递一些文本并让它出现在输入行上——而不是“输入您的姓名:
最佳答案
好的,找到了。对不起。
static void Main(string[] args)
{
Console.Write("Your editable text:");
SendKeys.SendWait("hello"); //hello text will be editable :)
Console.ReadLine();
}
关于c# - 控制台.ReadLine ("Default Text Editable Text On Line"),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8962691/