相关疑难解决方法(0)

此表达式应为"unit"类型,但类型为"ConsoleKeyInfo"

我只想暂停在F#控制台应用程序中,所以我写道:

Console.ReadKey()

但这给出了警告: This expression should have type 'unit', but has type 'ConsoleKeyInfo'.

我该怎么做才能解决这个问题?

f# functional-programming unit-type

35
推荐指数
1
解决办法
8790
查看次数

标签 统计

f# ×1

functional-programming ×1

unit-type ×1