I just wanted to pause in an F# console application, so I wrote:
Console.ReadKey()
But this gives the warning: This expression should have type 'unit', but has type 'ConsoleKeyInfo'.
What can I do to fix this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…