How do you use Console.Readline in F#? Unlike Console.Writeline, it isn’t being honored when I call it.
How do you use Console.Readline in F#? Unlike Console.Writeline, it isn’t being honored when
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use
you are only building a delegate that points to the ReadLine function. You need to say
to actually execute the function. This is just like C# syntax, except type inference means you don’t get a compiler warning.