我只想暂停在F#控制台应用程序中,所以我写道:
Console.ReadKey()
但这给出了警告: This expression should have type 'unit', but has type 'ConsoleKeyInfo'.
This expression should have type 'unit', but has type 'ConsoleKeyInfo'.
我该怎么做才能解决这个问题?
f# functional-programming unit-type
f# ×1
functional-programming ×1
unit-type ×1