Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Read input from console in F#

Tags:

f#

I'm write a Program to Consume input as from a Console Entry let line = Console.ReadLine() It's give an Type Error.

like image 284
David Hurtado Avatar asked Oct 16 '25 18:10

David Hurtado


1 Answers

are you missing

open System

alternatively use

System.Console.ReadLine()
like image 81
roundcrisis Avatar answered Oct 18 '25 19:10

roundcrisis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!